/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 | 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 | 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 | InterfaceAdder.java | 46 public InterfaceAdder(ProgramClass targetClass) in InterfaceAdder() argument 48 constantAdder = new ConstantAdder(targetClass); in InterfaceAdder() 49 interfacesEditor = new InterfacesEditor(targetClass); in InterfaceAdder()
|
D | ParameterInfoAdder.java | 42 public ParameterInfoAdder(ProgramClass targetClass, in ParameterInfoAdder() argument 45 this.constantAdder = new ConstantAdder(targetClass); in ParameterInfoAdder()
|
D | ExceptionAdder.java | 47 public ExceptionAdder(ProgramClass targetClass, in ExceptionAdder() argument 50 constantAdder = new ConstantAdder(targetClass); in ExceptionAdder()
|
D | ExceptionInfoAdder.java | 44 public ExceptionInfoAdder(ProgramClass targetClass, in ExceptionInfoAdder() argument 47 constantAdder = new ConstantAdder(targetClass); in ExceptionInfoAdder()
|
/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/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/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/ |
D | ProxyMaker.java | 43 public <T> T createProxy(Class<T> targetClass, T target) { in createProxy() argument 44 return factories.get(targetClass).createProxy(targetClass, target); in createProxy() 47 <T> Factory createProxyFactory(Class<T> targetClass) { in createProxyFactory() argument 48 Type targetType = Type.getType(targetClass); in createProxyFactory() 57 for (java.lang.reflect.Method method : targetClass.getMethods()) { in createProxyFactory() 65 String targetMethod = methodMapper.getName(targetClass.getName(), method.getName()); in createProxyFactory() 77 … final Class<?> proxyClass = UNSAFE.defineAnonymousClass(targetClass, writer.toByteArray(), null); in createProxyFactory() 82 @Override public <E> E createProxy(Class<E> targetClass, E target) { in createProxyFactory() 88 return targetClass.cast(proxy); in createProxyFactory() 110 <T> T createProxy(Class<T> targetClass, T target);
|
/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/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/ |
D | AnnotationInitializerTest.java | 30 protected void run(Class<?> targetClass) throws Exception { in run() argument 34 assertEquals(1, targetClass.getDeclaredFields().length); in run() 35 assertEquals(1, targetClass.getDeclaredMethods().length); in run() 38 targetClass.getField("CONST").get(null); in run()
|
D | InterfaceClassInitializerTest.java | 28 protected void run(final Class<?> targetClass) throws Exception { in run() argument 30 targetClass.getField("CONST1").get(null); in run()
|
/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/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-java8/org/jacoco/core/test/validation/ |
D | LambdaInInterfaceTest.java | 28 protected void run(final Class<?> targetClass) throws Exception { in run() argument 29 ((Runnable) targetClass.getField("RUN").get(null)).run(); in run()
|