/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
SmaliClassTypeElementTest.java | 53 SmaliClassTypeElement typeElement = 55 Assert.assertNotNull(typeElement); 56 SmaliClassType type = typeElement.getType(); 58 Assert.assertEquals("blarg", typeElement.getName()); 59 Assert.assertEquals("my.blarg", typeElement.getCanonicalText()); 63 SmaliClass resolvedClass = (SmaliClass)typeElement.resolve(); 84 SmaliClassTypeElement typeElement = 86 Assert.assertNotNull(typeElement); 87 SmaliClassType type = typeElement.getType(); 89 Assert.assertEquals("Outer.Inner", typeElement.getQualifiedName()) [all...] |
ClassReferenceTest.java | 49 SmaliClassTypeElement typeElement = (SmaliClassTypeElement)configureByFileText( 52 Assert.assertNotNull(typeElement); 53 Assert.assertEquals("Object", typeElement.getName()); 55 PsiClass psiClass = typeElement.resolve(); 59 JavaResolveResult resolveResult = typeElement.advancedResolve(false); 63 JavaResolveResult[] resolveResults = typeElement.multiResolve(false); 75 SmaliClassTypeElement typeElement = (SmaliClassTypeElement)configureByFileText( 78 Assert.assertEquals("blarg", typeElement.getName()); 80 SmaliClass smaliClass = (SmaliClass)typeElement.resolve(); 84 JavaResolveResult resolveResult = typeElement.advancedResolve(false) [all...] |
SmaliFieldTest.java | 59 PsiTypeElement typeElement = fields[0].getTypeElement(); 60 Assert.assertNotNull("I", typeElement); 61 Assert.assertEquals("I", typeElement.getText()); 226 PsiTypeElement typeElement = fields[0].getTypeElement(); 227 Assert.assertNotNull("I", typeElement); 228 Assert.assertEquals("I", typeElement.getText());
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
Util.java | 31 import javax.lang.model.element.TypeElement; 120 private static boolean requiresEnclosingInstance(TypeElement typeElement) { 121 switch (typeElement.getNestingKind()) { 125 return !typeElement.getModifiers().contains(STATIC); 130 throw new AssertionError("TypeElement cannot have nesting kind: " 131 + typeElement.getNestingKind()); 139 static boolean componentCanMakeNewInstances(TypeElement typeElement) { 140 switch (typeElement.getKind()) [all...] |
Scope.java | 26 import javax.lang.model.element.TypeElement; 112 TypeElement typeElement = MoreTypes.asTypeElement(annotationMirror.getAnnotationType()); 113 return typeElement.getQualifiedName().toString();
|
Binding.java | 33 import javax.lang.model.element.TypeElement; 135 TypeElement bindingTypeElement() { 139 private static final ElementVisitor<TypeElement, Void> BINDING_TYPE_ELEMENT = 140 new SimpleElementVisitor6<TypeElement, Void>() { 142 protected TypeElement defaultAction(Element e, Void p) { 147 public TypeElement visitType(TypeElement e, Void p) { 195 TypeElement typeElement = MoreElements.asType(t.asElement()); 196 if (!typeElement.getModifiers().contains(PUBLIC)) [all...] |
MapKeyGenerator.java | 40 import javax.lang.model.element.TypeElement; 66 abstract TypeElement mapKeyElement(); 73 abstract TypeElement annotationElement(); 78 static MapKeyCreatorSpecification wrappedMapKey(TypeElement mapKeyElement) { 87 TypeElement mapKeyElement, TypeElement annotationElement) { 121 for (TypeElement annotationElement : 129 private void writeCreateMethod(TypeWriter mapKeyCreatorWriter, TypeElement annotationElement) { 151 private static Set<TypeElement> nestedAnnotationElements(TypeElement annotationElement) [all...] |
ProvisionBinding.java | 29 import javax.lang.model.element.TypeElement; 123 TypeElement bindingTypeElement = 133 Optional.<TypeElement>absent(), 144 TypeElement typeElement = MoreElements.asType(type.asElement()); 146 typeElement.getSuperclass())) { 149 for (Element enclosedElement : typeElement.getEnclosedElements()) { 206 Optional.<TypeElement>absent(), 213 ProvisionBinding forComponent(TypeElement componentDefinitionType) { 222 Optional.<TypeElement>absent() [all...] |
MembersInjectionBinding.java | 39 import javax.lang.model.element.TypeElement; 64 @Override abstract TypeElement bindingElement(); 213 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); 219 hasNonDefaultTypeParameters(typeElement, key.type(), types), 220 typeElement, 227 final List<TypeElement> ancestors = new ArrayList<>(); 289 TypeElement injectionSiteType = MoreElements.asType(injectionSite.getEnclosingElement());
|
ConfigurationAnnotations.java | 41 import javax.lang.model.element.TypeElement; 63 static boolean isComponent(TypeElement componentDefinitionType) { 163 static ImmutableSet<TypeElement> getTransitiveModules( 164 Types types, Elements elements, Iterable<TypeElement> seedModules) { 166 Queue<TypeElement> moduleQueue = new ArrayDeque<>(); 168 Set<TypeElement> moduleElements = Sets.newLinkedHashSet(); 169 for (TypeElement moduleElement = moduleQueue.poll(); 175 ImmutableSet.Builder<TypeElement> moduleDependenciesBuilder = ImmutableSet.builder(); 182 ImmutableSet<TypeElement> moduleDependencies = moduleDependenciesBuilder.build(); 184 for (TypeElement dependencyType : moduleDependencies) [all...] |
SourceFiles.java | 36 import javax.lang.model.element.TypeElement; 276 static ClassName membersInjectorNameForType(TypeElement typeElement) { 277 ClassName injectedClassName = ClassName.fromTypeElement(typeElement); 283 static ClassName generatedMonitoringModuleName(TypeElement componentElement) {
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/ |
SmaliFieldElementType.java | 69 SmaliTypeElement typeElement = psi.getTypeElement(); 70 if (typeElement != null) { 71 fieldSmaliTypeName = typeElement.getSmaliName();
|
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/annotation/ |
AnnotationAnalyzer.java | 31 import javax.lang.model.element.TypeElement; 102 TypeElement typeElement = getTypeElement(className, imports); 103 if (typeElement == null) { 106 declaredType = (DeclaredType) typeElement.asType(); 112 TypeElement typeElement = getTypeElement(baseClassName, imports); 113 if (typeElement == null) { 130 declaredType = typeUtils.getDeclaredType(typeElement, typeArgs); 143 private TypeElement getTypeElement(String className, Map<String, String> imports) [all...] |
AnnotationClass.java | 33 import javax.lang.model.element.TypeElement; 215 TypeElement targetApi = getElementUtils().getTypeElement("android.annotation.TargetApi"); 302 TypeElement typeElement = (TypeElement) declaredType.asElement(); 303 List<? extends Element> members = elementUtils.getAllMembers(typeElement); 319 TypeElement typeElement = (TypeElement) declaredType.asElement(); 320 TypeMirror superClass = typeElement.getSuperclass() [all...] |
AnnotationMethod.java | 30 import javax.lang.model.element.TypeElement; 82 TypeElement enclosing = (TypeElement) mExecutableElement.getEnclosingElement(); 83 TypeElement typeElement = (TypeElement) declaredType.asElement(); 84 for (Element element : typeElement.getEnclosedElements()) {
|
/external/parameter-framework/upstream/parameter/ |
SubsystemObject.cpp | 84 const CTypeElement *typeElement = 88 return typeElement->toPlainInteger(sizeOptimizedData);
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
SmaliMethodParameter.java | 79 SmaliTypeElement typeElement = findChildByClass(SmaliTypeElement.class); 80 assert typeElement != null; 81 return typeElement;
|
SmaliField.java | 99 PsiTypeElement typeElement = getTypeElement(); 100 if (typeElement == null) {
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
TypeWriter.java | 22 import javax.lang.model.element.TypeElement; 85 public void addImplementedType(TypeElement typeElement) { 86 implementedTypes.add(ClassName.fromTypeElement(typeElement)); 93 public FieldWriter addField(TypeElement type, String name) {
|
/external/dagger2/lib/ |
auto-service-1.0-rc2.jar | |
/prebuilts/tools/common/m2/repository/com/google/auto/service/auto-service/1.0-rc2/ |
auto-service-1.0-rc2.jar | |
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
KeyTest.java | 34 import javax.lang.model.element.TypeElement; 68 TypeElement typeElement = 71 Iterables.getOnlyElement(ElementFilter.constructorsIn(typeElement.getEnclosedElements())); 76 MoreTypes.equivalence().wrap(typeElement.asType()))); 86 TypeElement moduleElement = 106 TypeElement qualifierElement = 108 TypeElement moduleElement = 120 TypeElement moduleElement = 128 TypeElement injectableElement [all...] |
/prebuilts/tools/common/m2/repository/com/github/frankiesardo/auto-parcel-processor/0.3.1/ |
auto-parcel-processor-0.3.1.jar | |
/prebuilts/tools/common/m2/repository/com/jakewharton/butterknife/7.0.1/ |
butterknife-7.0.1.jar | |
/prebuilts/tools/common/m2/repository/com/squareup/dagger/dagger-compiler/1.2.2/ |
dagger-compiler-1.2.2.jar | |