示例#1
0
  public void visitClassConstant(Clazz clazz, ClassConstant classConstant) {
    if (shouldBeMarkedAsUsed(classConstant)) {
      markAsUsed(classConstant);

      markConstant(clazz, classConstant.u2nameIndex);

      // Mark the referenced class itself.
      classConstant.referencedClassAccept(this);
    }
  }
 public void visitClassConstant(Clazz clazz, ClassConstant classConstant) {
   // Let the visitor visit the class referenced in the class constant.
   classConstant.referencedClassAccept(classVisitor);
 }