Home
last modified time | relevance | path

Searched refs:classNode (Results 1 – 10 of 10) sorted by relevance

/external/robolectric-shadows/sandbox/src/main/java/org/robolectric/internal/bytecode/
DMutableClass.java15 public final ClassNode classNode; field in MutableClass
25 MutableClass(ClassNode classNode, InstrumentationConfiguration config, in MutableClass() argument
27 this.classNode = classNode; in MutableClass()
30 this.internalClassName = classNode.name; in MutableClass()
31 this.className = classNode.name.replace('/', '.'); in MutableClass()
35 List<String> foundMethods = new ArrayList<>(classNode.methods.size()); in MutableClass()
43 return (classNode.access & Opcodes.ACC_INTERFACE) != 0; in isInterface()
47 return (classNode.access & Opcodes.ACC_ANNOTATION) != 0; in isAnnotation()
52 if (classNode.visibleAnnotations == null) { in hasAnnotation()
56 for (Object visibleAnnotation : classNode.visibleAnnotations) { in hasAnnotation()
[all …]
DClassNodeProvider.java14 ClassNode classNode = classNodes.get(internalClassName); in getClassNode() local
15 if (classNode == null) { in getClassNode()
16 classNode = createClassNode(internalClassName); in getClassNode()
17 classNodes.put(internalClassName, classNode); in getClassNode()
19 return classNode; in getClassNode()
25 ClassNode classNode = new ClassNode(); in createClassNode() local
26 classReader.accept(classNode, in createClassNode()
28 return classNode; in createClassNode()
DClassInstrumentor.java44 ClassNode classNode = in analyzeClass() local
63 classReader.accept(classNode, 0); in analyzeClass()
64 return new MutableClass(classNode, config, classNodeProvider); in analyzeClass()
70 ClassNode classNode = mutableClass.classNode; in instrumentToBytes() local
71 ClassWriter writer = new InstrumentingClassWriter(mutableClass.classNodeProvider, classNode); in instrumentToBytes()
80 classNode.accept(visitor); in instrumentToBytes()
97 makeClassPublic(mutableClass.classNode); in instrument()
98 if ((mutableClass.classNode.access & Opcodes.ACC_FINAL) == Opcodes.ACC_FINAL) { in instrument()
99 mutableClass.classNode.visitAnnotation( in instrument()
104 mutableClass.classNode.access = mutableClass.classNode.access & ~Opcodes.ACC_FINAL; in instrument()
[all …]
DInstrumentingClassWriter.java24 public InstrumentingClassWriter(ClassNodeProvider classNodeProvider, ClassNode classNode) { in InstrumentingClassWriter() argument
25 super(classNode.version >= 51 ? ClassWriter.COMPUTE_FRAMES : ClassWriter.COMPUTE_MAXS); in InstrumentingClassWriter()
DOldClassInstrumentor.java48 String superName = mutableClass.classNode.superName; in addDirectCallConstructor()
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/html/page/
DClassPage.java44 public ClassPage(final IClassCoverage classNode, final ReportPage parent, in ClassPage() argument
47 super(classNode, parent, folder, context); in ClassPage()
49 context.getIndexUpdate().addClass(this, classNode.getId()); in ClassPage()
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
DSdkStore.java219 ClassNode classNode = loadClassNode(name); in getClassInfo() local
221 if (classNode == null) { in getClassInfo()
224 classInfo = new ClassInfo(classNode); in getClassInfo()
297 ClassNode classNode = new ClassNode(); in loadClassNode() local
298 classReader.accept(classNode, in loadClassNode()
300 return classNode; in loadClassNode()
319 public ClassInfo(ClassNode classNode) { in ClassInfo() argument
320 for (Object aMethod : classNode.methods) { in ClassInfo()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/filter/
DFinallyTest.java188 final ClassNode classNode = new ClassNode(); in gotos() local
190 .accept(classNode, 0); in gotos()
192 for (final MethodNode m : classNode.methods) { in gotos()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java149 ClassOrInterfaceDeclaration classNode = optAncestor.get(); in solve() local
152 …ype classDecl = JavaParserFacade.get(typeSolver).convert(classNode.getExtendedTypes(0), classNode); in solve()
157 …lvedTypeDeclaration> sr = JavaParserFactory.getContext(classNode, typeSolver).solveType(classNode.… in solve()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_JavaParserFacade.txt43 …Line 166) JavaParserFacade.get(typeSolver).convert(classNode.getExtendedTypes(0), classNode) ==> U…
45 …Line 166) classNode.getExtendedTypes(0) ==> com.github.javaparser.ast.nodeTypes.NodeWithExtends.ge…
49 …Line 171) JavaParserFactory.getContext(classNode, typeSolver).solveType(classNode.getNameAsString(…
50 …Line 171) JavaParserFactory.getContext(classNode, typeSolver) ==> com.github.javaparser.symbolsolv…
51 …Line 171) classNode.getNameAsString() ==> com.github.javaparser.ast.nodeTypes.NodeWithSimpleName.g…