Searched refs:targetClass (Results 1 - 25 of 73) sorted by relevance

123

/external/proguard/src/proguard/classfile/editor/
H A DSubclassToAdder.java35 private final Clazz targetClass; field in class:SubclassToAdder
42 public SubclassToAdder(Clazz targetClass) argument
44 this.targetClass = targetClass;
52 targetClass.addSubClass(programClass);
58 targetClass.addSubClass(libraryClass);
H A DClassEditor.java36 private ProgramClass targetClass; field in class:ClassEditor
43 public ClassEditor(ProgramClass targetClass) argument
45 this.targetClass = targetClass;
54 int interfacesCount = targetClass.u2interfacesCount;
55 int[] interfaces = targetClass.u2interfaces;
60 targetClass.u2interfaces = new int[interfacesCount+1];
62 targetClass.u2interfaces, 0,
64 interfaces = targetClass.u2interfaces;
69 System.out.println(targetClass
[all...]
H A DInterfacesEditor.java34 private final ProgramClass targetClass; field in class:InterfacesEditor
41 public InterfacesEditor(ProgramClass targetClass) argument
43 this.targetClass = targetClass;
56 targetClass.u2interfaces =
57 ArrayUtil.add(targetClass.u2interfaces,
58 targetClass.u2interfacesCount++,
73 int interfacesCount = --targetClass.u2interfacesCount;
74 int[] interfaces = targetClass.u2interfaces;
96 int interfacesCount = targetClass
[all...]
H A DAnnotationAdder.java42 private final ProgramClass targetClass; field in class:AnnotationAdder
54 public AnnotationAdder(ProgramClass targetClass, argument
57 this.targetClass = targetClass;
62 constantAdder = new ConstantAdder(targetClass);
70 public AnnotationAdder(ProgramClass targetClass, argument
73 this.targetClass = targetClass;
78 constantAdder = new ConstantAdder(targetClass);
86 public AnnotationAdder(ProgramClass targetClass, argument
[all...]
H A DBootstrapMethodsAttributeAdder.java34 private final ProgramClass targetClass; field in class:BootstrapMethodsAttributeAdder
43 public BootstrapMethodsAttributeAdder(ProgramClass targetClass) argument
45 this.targetClass = targetClass;
46 this.constantPoolEditor = new ConstantPoolEditor(targetClass);
68 new AttributesEditor(targetClass, false);
84 bootstrapMethodInfoAdder = new BootstrapMethodInfoAdder(targetClass,
H A DAttributesEditor.java36 private final ProgramClass targetClass; field in class:AttributesEditor
46 public AttributesEditor(ProgramClass targetClass, argument
49 this(targetClass, null, null, replaceAttributes);
57 public AttributesEditor(ProgramClass targetClass, argument
61 this(targetClass, targetMember, null, replaceAttributes);
69 public AttributesEditor(ProgramClass targetClass, argument
74 this.targetClass = targetClass;
96 findAttribute(targetClass.u2attributesCount,
97 targetClass
[all...]
H A DMemberAdder.java49 private final ProgramClass targetClass; field in class:MemberAdder
61 * @param targetClass the class to which all visited class members will be
64 public MemberAdder(ProgramClass targetClass) argument
66 this(targetClass, null);
73 * @param targetClass the class to which all visited class members
81 public MemberAdder(ProgramClass targetClass, argument
85 this.targetClass = targetClass;
89 constantAdder = new ConstantAdder(targetClass);
90 classEditor = new ClassEditor(targetClass);
[all...]
H A DInterfaceAdder.java46 public InterfaceAdder(ProgramClass targetClass) argument
48 constantAdder = new ConstantAdder(targetClass);
49 interfacesEditor = new InterfacesEditor(targetClass);
H A DElementValueAdder.java39 private final ProgramClass targetClass; field in class:ElementValueAdder
50 public ElementValueAdder(ProgramClass targetClass, argument
54 this.targetClass = targetClass;
57 constantAdder = new ConstantAdder(targetClass);
66 public ElementValueAdder(ProgramClass targetClass, argument
70 this.targetClass = targetClass;
73 constantAdder = new ConstantAdder(targetClass);
74 elementValuesEditor = new ElementValuesEditor(targetClass,
84 ElementValueAdder(ProgramClass targetClass, ArrayElementValue targetArrayElementValue, boolean replaceElementValues) argument
[all...]
H A DConstantPoolEditor.java35 private ProgramClass targetClass; field in class:ConstantPoolEditor
42 public ConstantPoolEditor(ProgramClass targetClass) argument
44 this.targetClass = targetClass;
55 int constantPoolCount = targetClass.u2constantPoolCount;
56 Constant[] constantPool = targetClass.constantPool;
84 int constantPoolCount = targetClass.u2constantPoolCount;
85 Constant[] constantPool = targetClass.constantPool;
114 int constantPoolCount = targetClass.u2constantPoolCount;
115 Constant[] constantPool = targetClass
[all...]
H A DElementValuesEditor.java36 private final ProgramClass targetClass; field in class:ElementValuesEditor
46 public ElementValuesEditor(ProgramClass targetClass, argument
50 this.targetClass = targetClass;
61 public ElementValuesEditor(ProgramClass targetClass, argument
65 this.targetClass = targetClass;
153 elementValue.getMethodName(targetClass));
230 if (elementValues[index].getMethodName(targetClass).equals(elementValueName))
H A DExceptionAdder.java47 public ExceptionAdder(ProgramClass targetClass, argument
50 constantAdder = new ConstantAdder(targetClass);
H A DParameterInfoAdder.java42 public ParameterInfoAdder(ProgramClass targetClass, argument
45 this.constantAdder = new ConstantAdder(targetClass);
H A DAttributeAdder.java50 private final ProgramClass targetClass; field in class:AttributeAdder
63 public AttributeAdder(ProgramClass targetClass, argument
66 this(targetClass, null, null, replaceAttributes);
74 public AttributeAdder(ProgramClass targetClass, argument
78 this(targetClass, targetMember, null, replaceAttributes);
86 public AttributeAdder(ProgramClass targetClass, argument
91 this.targetClass = targetClass;
96 constantAdder = new ConstantAdder(targetClass);
97 attributesEditor = new AttributesEditor(targetClass,
[all...]
H A DBootstrapMethodInfoAdder.java44 public BootstrapMethodInfoAdder(ProgramClass targetClass, argument
47 this.constantAdder = new ConstantAdder(targetClass);
H A DExceptionInfoAdder.java44 public ExceptionInfoAdder(ProgramClass targetClass, argument
47 constantAdder = new ConstantAdder(targetClass);
H A DInstructionAdder.java47 public InstructionAdder(ProgramClass targetClass, argument
50 constantAdder = new ConstantAdder(targetClass);
H A DLocalVariableInfoAdder.java42 public LocalVariableInfoAdder(ProgramClass targetClass, argument
45 this.constantAdder = new ConstantAdder(targetClass);
/external/proguard/src/proguard/optimize/peephole/
H A DClassMerger.java60 private final ProgramClass targetClass; field in class:ClassMerger
71 * @param targetClass the class into which all visited
79 public ClassMerger(ProgramClass targetClass, argument
83 this(targetClass, allowAccessModification, mergeInterfacesAggressively, null);
90 * @param targetClass the class into which all visited
100 public ClassMerger(ProgramClass targetClass, argument
105 this.targetClass = targetClass;
118 // targetClass.getName().equals(CLASS_NAME);
130 System.err.println(" Target class = ["+targetClass
493 haveAnyIdenticalFields(Clazz clazz, Clazz targetClass) argument
510 introducesUnwantedFields(ProgramClass programClass, ProgramClass targetClass) argument
536 shadowsAnyFields(Clazz clazz, Clazz targetClass) argument
556 haveAnyIdenticalMethods(Clazz clazz, Clazz targetClass) argument
575 introducesUnwantedAbstractMethods(Clazz clazz, ProgramClass targetClass) argument
611 overridesAnyMethods(Clazz clazz, Clazz targetClass) argument
632 shadowsAnyMethods(Clazz clazz, Clazz targetClass) argument
660 setTargetClass(Clazz clazz, Clazz targetClass) argument
[all...]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/validation/
H A DAnnotationInitializerTest.java30 protected void run(Class<?> targetClass) throws Exception { argument
34 assertEquals(1, targetClass.getDeclaredFields().length);
35 assertEquals(1, targetClass.getDeclaredMethods().length);
38 targetClass.getField("CONST").get(null);
H A DInterfaceClassInitializerTest.java28 protected void run(final Class<?> targetClass) throws Exception { argument
30 targetClass.getField("CONST1").get(null);
/external/proguard/src/proguard/classfile/visitor/
H A DSimilarMemberVisitor.java35 private final Clazz targetClass; field in class:SimilarMemberVisitor
45 * @param targetClass the class in whose hierarchy to look for
61 public SimilarMemberVisitor(Clazz targetClass, argument
68 this.targetClass = targetClass;
81 targetClass.hierarchyAccept(visitThisMember,
93 targetClass.hierarchyAccept(visitThisMember,
105 targetClass.hierarchyAccept(visitThisMember,
117 targetClass.hierarchyAccept(visitThisMember,
/external/jacoco/org.jacoco.core.test/src-java8/org/jacoco/core/test/validation/
H A DLambdaInInterfaceTest.java28 protected void run(final Class<?> targetClass) throws Exception { argument
29 ((Runnable) targetClass.getField("RUN").get(null)).run();
/external/proguard/src/proguard/optimize/info/
H A DClassOptimizationInfo.java41 private Clazz targetClass; field in class:ClassOptimizationInfo
140 public void setTargetClass(Clazz targetClass) argument
142 this.targetClass = targetClass;
148 return targetClass;
/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
H A DProxyMaker.java43 public <T> T createProxy(Class<T> targetClass, T target) { argument
44 return factories.get(targetClass).createProxy(targetClass, target);
47 <T> Factory createProxyFactory(Class<T> targetClass) { argument
48 Type targetType = Type.getType(targetClass);
57 for (java.lang.reflect.Method method : targetClass.getMethods()) {
65 String targetMethod = methodMapper.getName(targetClass.getName(), method.getName());
77 final Class<?> proxyClass = UNSAFE.defineAnonymousClass(targetClass, writer.toByteArray(), null);
82 @Override public <E> E createProxy(Class<E> targetClass, E target) {
88 return targetClass
110 createProxy(Class<T> targetClass, T target) argument
[all...]

Completed in 912 milliseconds

123