Home
last modified time | relevance | path

Searched refs:classElement (Results 1 – 8 of 8) sorted by relevance

/external/dagger2/java/dagger/hilt/android/processor/internal/
DMoreTypes.java114 Types types, TypeElement classElement, ExecutableElement method) {
116 while (!match.isPresent() && !classElement.asType().getKind().equals(TypeKind.NONE)) {
117 match = findMethod(types, classElement, method);
118 classElement = MoreTypes.asTypeElement(classElement.getSuperclass());
125 Types types, TypeElement classElement, ExecutableElement method) {
128 findMethods(classElement, method.getSimpleName().toString())
136 classElement,
145 public static Set<ExecutableElement> findMethods(TypeElement classElement, String name) {
146 return ElementFilter.methodsIn(classElement.getEnclosedElements())
/external/javapoet/src/test/java/com/squareup/javapoet/
DMethodSpecTest.java149 TypeElement classElement = getElement(Everything.class); in overrideEverything() local
150 ExecutableElement methodElement = getOnlyElement(methodsIn(classElement.getEnclosedElements())); in overrideEverything()
162 TypeElement classElement = getElement(Generics.class); in overrideGenerics() local
163 ExecutableElement methodElement = getOnlyElement(methodsIn(classElement.getEnclosedElements())); in overrideGenerics()
175 TypeElement classElement = getElement(HasAnnotation.class); in overrideDoesNotCopyOverrideAnnotation() local
176 ExecutableElement exec = getOnlyElement(methodsIn(classElement.getEnclosedElements())); in overrideDoesNotCopyOverrideAnnotation()
185 TypeElement classElement = getElement(ExtendsIterableWithDefaultMethods.class); in overrideDoesNotCopyDefaultModifier() local
186 DeclaredType classType = (DeclaredType) classElement.asType(); in overrideDoesNotCopyDefaultModifier()
187 List<ExecutableElement> methods = methodsIn(elements.getAllMembers(classElement)); in overrideDoesNotCopyDefaultModifier()
197 TypeElement classElement = getElement(ExtendsOthers.class); in overrideExtendsOthersWorksWithActualTypeParameters() local
[all …]
DParameterSpecTest.java97 TypeElement classElement = getElement(VariableElementFieldClass.class); in fieldVariableElement() local
98 List<VariableElement> methods = fieldsIn(elements.getAllMembers(classElement)); in fieldVariableElement()
115 TypeElement classElement = getElement(VariableElementParameterClass.class); in parameterVariableElement() local
116 List<ExecutableElement> methods = methodsIn(elements.getAllMembers(classElement)); in parameterVariableElement()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliFile.java59 … StubElement<SmaliClass> classElement = stub.findChildStubByType(SmaliElementTypes.CLASS); in getPsiClass() local
60 if (classElement != null) { in getPsiClass()
61 return classElement.getPsi(); in getPsiClass()
/external/auto/factory/src/main/java/com/google/auto/factory/processor/
DFactoryDescriptorGenerator.java122 TypeElement classElement = MoreElements.asType(constructor.getEnclosingElement());
137 .returnType(classElement.asType())
138 .publicMethod(classElement.getModifiers().contains(PUBLIC))
/external/jacoco/org.jacoco.report/src/org/jacoco/report/internal/xml/
DXMLCoverageWriter.java64 final ReportElement element = parent.classElement(c); in writeClass()
DReportElement.java118 public ReportElement classElement(final IClassCoverage coverage) in classElement() method in ReportElement
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/backend-common. ...