/external/proguard/src/proguard/classfile/editor/ |
D | ClassEditor.java | 36 private ProgramClass targetClass; field in ClassEditor 43 public ClassEditor(ProgramClass targetClass) in ClassEditor() argument 45 this.targetClass = targetClass; in ClassEditor() 54 int interfacesCount = targetClass.u2interfacesCount; in addInterface() 55 int[] interfaces = targetClass.u2interfaces; in addInterface() 60 targetClass.u2interfaces = new int[interfacesCount+1]; in addInterface() 62 targetClass.u2interfaces, 0, in addInterface() 64 interfaces = targetClass.u2interfaces; in addInterface() 69 …System.out.println(targetClass.getName()+": adding interface ["+targetClass.getClassName(interface… in addInterface() 73 interfaces[targetClass.u2interfacesCount++] = interfaceConstantIndex; in addInterface() [all …]
|
D | ConstantPoolEditor.java | 35 private ProgramClass targetClass; field in ConstantPoolEditor 42 public ConstantPoolEditor(ProgramClass targetClass) in ConstantPoolEditor() argument 44 this.targetClass = targetClass; in ConstantPoolEditor() 55 int constantPoolCount = targetClass.u2constantPoolCount; in addIntegerConstant() 56 Constant[] constantPool = targetClass.constantPool; in addIntegerConstant() 84 int constantPoolCount = targetClass.u2constantPoolCount; in addLongConstant() 85 Constant[] constantPool = targetClass.constantPool; in addLongConstant() 114 int constantPoolCount = targetClass.u2constantPoolCount; in addFloatConstant() 115 Constant[] constantPool = targetClass.constantPool; in addFloatConstant() 144 int constantPoolCount = targetClass.u2constantPoolCount; in addDoubleConstant() [all …]
|
D | AttributesEditor.java | 36 private final ProgramClass targetClass; field in AttributesEditor 46 public AttributesEditor(ProgramClass targetClass, in AttributesEditor() argument 49 this(targetClass, null, null, replaceAttributes); in AttributesEditor() 57 public AttributesEditor(ProgramClass targetClass, in AttributesEditor() argument 61 this(targetClass, targetMember, null, replaceAttributes); in AttributesEditor() 69 public AttributesEditor(ProgramClass targetClass, in AttributesEditor() argument 74 this.targetClass = targetClass; in AttributesEditor() 96 findAttribute(targetClass.u2attributesCount, in findAttribute() 97 targetClass.attributes, in findAttribute() 146 !replaceAttribute(targetClass.u2attributesCount, in addAttribute() [all …]
|
D | MemberAdder.java | 49 private final ProgramClass targetClass; field in MemberAdder 64 public MemberAdder(ProgramClass targetClass) in MemberAdder() argument 66 this(targetClass, null); in MemberAdder() 81 public MemberAdder(ProgramClass targetClass, in MemberAdder() argument 85 this.targetClass = targetClass; in MemberAdder() 89 constantAdder = new ConstantAdder(targetClass); in MemberAdder() 90 classEditor = new ClassEditor(targetClass); in MemberAdder() 91 constantPoolEditor = new ConstantPoolEditor(targetClass); in MemberAdder() 150 …e(programClass)+" "+programField.getDescriptor(programClass)+"] into ["+targetClass.getName()+"]"); in visitProgramField() 169 new AttributeAdder(targetClass, in visitProgramField() [all …]
|
D | AnnotationAdder.java | 42 private final ProgramClass targetClass; field in AnnotationAdder 54 public AnnotationAdder(ProgramClass targetClass, in AnnotationAdder() argument 57 this.targetClass = targetClass; in AnnotationAdder() 62 constantAdder = new ConstantAdder(targetClass); in AnnotationAdder() 70 public AnnotationAdder(ProgramClass targetClass, in AnnotationAdder() argument 73 this.targetClass = targetClass; in AnnotationAdder() 78 constantAdder = new ConstantAdder(targetClass); in AnnotationAdder() 86 public AnnotationAdder(ProgramClass targetClass, in AnnotationAdder() argument 89 this.targetClass = targetClass; in AnnotationAdder() 94 constantAdder = new ConstantAdder(targetClass); in AnnotationAdder() [all …]
|
D | InterfacesEditor.java | 34 private final ProgramClass targetClass; field in InterfacesEditor 41 public InterfacesEditor(ProgramClass targetClass) in InterfacesEditor() argument 43 this.targetClass = targetClass; in InterfacesEditor() 56 targetClass.u2interfaces = in addInterface() 57 ArrayUtil.add(targetClass.u2interfaces, in addInterface() 58 targetClass.u2interfacesCount++, in addInterface() 73 int interfacesCount = --targetClass.u2interfacesCount; in deleteInterface() 74 int[] interfaces = targetClass.u2interfaces; in deleteInterface() 96 int interfacesCount = targetClass.u2interfacesCount; in findInterfaceIndex() 97 int[] interfaces = targetClass.u2interfaces; in findInterfaceIndex()
|
D | ElementValueAdder.java | 39 private final ProgramClass targetClass; field in ElementValueAdder 50 public ElementValueAdder(ProgramClass targetClass, in ElementValueAdder() argument 54 this.targetClass = targetClass; in ElementValueAdder() 57 constantAdder = new ConstantAdder(targetClass); in ElementValueAdder() 66 public ElementValueAdder(ProgramClass targetClass, in ElementValueAdder() argument 70 this.targetClass = targetClass; in ElementValueAdder() 73 constantAdder = new ConstantAdder(targetClass); in ElementValueAdder() 74 elementValuesEditor = new ElementValuesEditor(targetClass, in ElementValueAdder() 84 public ElementValueAdder(ProgramClass targetClass, in ElementValueAdder() argument 88 this.targetClass = targetClass; in ElementValueAdder() [all …]
|
D | AttributeAdder.java | 50 private final ProgramClass targetClass; field in AttributeAdder 63 public AttributeAdder(ProgramClass targetClass, in AttributeAdder() argument 66 this(targetClass, null, null, replaceAttributes); in AttributeAdder() 74 public AttributeAdder(ProgramClass targetClass, in AttributeAdder() argument 78 this(targetClass, targetMember, null, replaceAttributes); in AttributeAdder() 86 public AttributeAdder(ProgramClass targetClass, in AttributeAdder() argument 91 this.targetClass = targetClass; in AttributeAdder() 96 constantAdder = new ConstantAdder(targetClass); in AttributeAdder() 97 attributesEditor = new AttributesEditor(targetClass, in AttributeAdder() 232 … new ParameterInfoAdder(targetClass, newMethodParametersAttribute)); in visitMethodParametersAttribute() [all …]
|
D | BootstrapMethodsAttributeAdder.java | 34 private final ProgramClass targetClass; field in BootstrapMethodsAttributeAdder 43 public BootstrapMethodsAttributeAdder(ProgramClass targetClass) in BootstrapMethodsAttributeAdder() argument 45 this.targetClass = targetClass; in BootstrapMethodsAttributeAdder() 46 this.constantPoolEditor = new ConstantPoolEditor(targetClass); in BootstrapMethodsAttributeAdder() 68 new AttributesEditor(targetClass, false); in visitBootstrapMethodInfo() 84 bootstrapMethodInfoAdder = new BootstrapMethodInfoAdder(targetClass, in visitBootstrapMethodInfo()
|
D | SubclassToAdder.java | 35 private final Clazz targetClass; field in SubclassToAdder 42 public SubclassToAdder(Clazz targetClass) in SubclassToAdder() argument 44 this.targetClass = targetClass; in SubclassToAdder() 52 targetClass.addSubClass(programClass); in visitProgramClass() 58 targetClass.addSubClass(libraryClass); in visitLibraryClass()
|
D | ElementValuesEditor.java | 36 private final ProgramClass targetClass; field in ElementValuesEditor 46 public ElementValuesEditor(ProgramClass targetClass, in ElementValuesEditor() argument 50 this.targetClass = targetClass; in ElementValuesEditor() 61 public ElementValuesEditor(ProgramClass targetClass, in ElementValuesEditor() argument 65 this.targetClass = targetClass; in ElementValuesEditor() 153 elementValue.getMethodName(targetClass)); in replaceElementValue() 230 if (elementValues[index].getMethodName(targetClass).equals(elementValueName)) in findElementValue()
|
D | InterfaceAdder.java | 46 public InterfaceAdder(ProgramClass targetClass) in InterfaceAdder() argument 48 constantAdder = new ConstantAdder(targetClass); in InterfaceAdder() 49 interfacesEditor = new InterfacesEditor(targetClass); in InterfaceAdder()
|
/external/proguard/src/proguard/optimize/peephole/ |
D | ClassMerger.java | 60 private final ProgramClass targetClass; field in ClassMerger 79 public ClassMerger(ProgramClass targetClass, in ClassMerger() argument 83 this(targetClass, allowAccessModification, mergeInterfacesAggressively, null); in ClassMerger() 100 public ClassMerger(ProgramClass targetClass, in ClassMerger() argument 105 this.targetClass = targetClass; in ClassMerger() 130 System.err.println(" Target class = ["+targetClass.getName()+"]"); in visitProgramClass() 136 targetClass.accept(new ClassPrinter()); in visitProgramClass() 145 if (!programClass.equals(targetClass) && in visitProgramClass0() 149 !KeepMarker.isKept(targetClass) && in visitProgramClass0() 153 getTargetClass(targetClass) == null && in visitProgramClass0() [all …]
|
D | MethodInliner.java | 72 private ProgramClass targetClass; field in MethodInliner 150 System.err.println(" Target class = ["+targetClass.getName()+"]"); in visitCodeAttribute() 151 …rintln(" Target method = ["+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetC… in visitCodeAttribute() 164 targetMethod.accept(targetClass, new ClassPrinter()); in visitCodeAttribute() 184 targetClass = (ProgramClass)clazz; in visitCodeAttribute0() 186 constantAdder = new ConstantAdder(targetClass); in visitCodeAttribute0() 187 … exceptionInfoAdder = new ExceptionInfoAdder(targetClass, codeAttributeComposer); in visitCodeAttribute0() 198 targetClass = null; in visitCodeAttribute0() 228 …targetClass.getName()+"."+targetMethod.getName(targetClass)+targetMethod.getDescriptor(targetClass… in visitCodeAttribute0() 515 !programClass.equals(targetClass)) && in visitProgramMethod() [all …]
|
/external/mockito/cglib-and-asm/src/org/mockito/cglib/reflect/ |
D | ConstructorDelegate.java | 39 public static ConstructorDelegate create(Class targetClass, Class iface) { in create() argument 41 gen.setTargetClass(targetClass); in create() 52 private Class targetClass; field in ConstructorDelegate.Generator 62 public void setTargetClass(Class targetClass) { in setTargetClass() argument 63 this.targetClass = targetClass; in setTargetClass() 67 setNamePrefix(targetClass.getName()); in create() 68 Object key = KEY_FACTORY.newInstance(iface.getName(), targetClass.getName()); in create() 73 return targetClass.getClassLoader(); in getDefaultClassLoader() 77 setNamePrefix(targetClass.getName()); in generateClass() 80 if (!newInstance.getReturnType().isAssignableFrom(targetClass)) { in generateClass() [all …]
|
D | MethodDelegate.java | 119 public static MethodDelegate createStatic(Class targetClass, String methodName, Class iface) { in createStatic() argument 121 gen.setTargetClass(targetClass); in createStatic() 158 private Class targetClass; field in MethodDelegate.Generator 168 this.targetClass = target.getClass(); in setTarget() 171 public void setTargetClass(Class targetClass) { in setTargetClass() argument 172 this.targetClass = targetClass; in setTargetClass() 184 return targetClass.getClassLoader(); in getDefaultClassLoader() 188 setNamePrefix(targetClass.getName()); in create() 189 Object key = KEY_FACTORY.newInstance(targetClass, methodName, iface); in create() 203 final Method method = targetClass.getMethod(methodName, proxy.getParameterTypes()); in generateClass()
|
/external/proguard/src/proguard/classfile/visitor/ |
D | SimilarMemberVisitor.java | 35 private final Clazz targetClass; field in SimilarMemberVisitor 61 public SimilarMemberVisitor(Clazz targetClass, in SimilarMemberVisitor() argument 68 this.targetClass = targetClass; in SimilarMemberVisitor() 81 targetClass.hierarchyAccept(visitThisMember, in visitProgramField() 93 targetClass.hierarchyAccept(visitThisMember, in visitLibraryField() 105 targetClass.hierarchyAccept(visitThisMember, in visitProgramMethod() 117 targetClass.hierarchyAccept(visitThisMember, in visitLibraryMethod()
|
/external/proguard/src/proguard/optimize/info/ |
D | ClassOptimizationInfo.java | 41 private Clazz targetClass; field in ClassOptimizationInfo 140 public void setTargetClass(Clazz targetClass) in setTargetClass() argument 142 this.targetClass = targetClass; in setTargetClass() 148 return targetClass; in getTargetClass()
|
/external/universal-tween-engine/java/api/src/aurelienribon/tweenengine/ |
D | Tween.java | 341 private Class<?> targetClass; field in Tween 375 targetClass = null; in reset() 397 this.targetClass = target != null ? findTargetClass() : null; in setup() 455 public Tween cast(Class<?> targetClass) { in cast() argument 457 this.targetClass = targetClass; in cast() 773 return targetClass; in getTargetClass() 784 accessor = (TweenAccessor<Object>) registeredAccessors.get(targetClass); in build()
|
/external/javassist/src/main/javassist/compiler/ |
D | MemberCodeGen.java | 450 CtClass targetClass = null; in atCallExpr() local 460 targetClass = thisClass; in atCallExpr() 471 targetClass = thisClass; in atCallExpr() 478 targetClass = MemberResolver.getSuperclass(targetClass); in atCallExpr() 485 targetClass in atCallExpr() 511 targetClass = resolver.lookupClass(javaLangObject, true); in atCallExpr() 513 targetClass = resolver.lookupClassByJvmName(className); in atCallExpr() 523 atMethodCallCore(targetClass, mname, args, isStatic, isSpecial, in atCallExpr() 537 public void atMethodCallCore(CtClass targetClass, String mname, in atMethodCallCore() argument 561 found = resolver.lookupMethod(targetClass, thisClass, thisMethod, in atMethodCallCore() [all …]
|
/external/testng/src/main/java/org/testng/internal/ |
D | PropertyUtils.java | 46 private static PropertyDescriptor getPropertyDescriptor(Class targetClass, String propertyName) { in getPropertyDescriptor() argument 48 if (targetClass == null) { in getPropertyDescriptor() 52 BeanInfo beanInfo = Introspector.getBeanInfo(targetClass); in getPropertyDescriptor()
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | ProbesBeforeSuperConstructorTest.java | 28 protected void run(final Class<?> targetClass) throws Exception { in run() argument 29 targetClass.newInstance(); in run()
|
D | ImplicitDefaultConstructorTest.java | 28 protected void run(final Class<?> targetClass) throws Exception { in run() argument 29 targetClass.newInstance(); in run()
|
D | ExplicitInitialFrameTest.java | 28 protected void run(final Class<?> targetClass) throws Exception { in run() argument 29 final Object instance = targetClass.newInstance(); in run()
|
D | PrivateEmptyDefaultConstructorTest.java | 28 protected void run(final Class<?> targetClass) throws Exception { in run() argument 30 targetClass.getField("CONST").get(null); in run()
|