/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliClassTypeElementTest.java | 53 SmaliClassTypeElement typeElement = in testGetType() local 55 Assert.assertNotNull(typeElement); in testGetType() 56 SmaliClassType type = typeElement.getType(); in testGetType() 58 Assert.assertEquals("blarg", typeElement.getName()); in testGetType() 59 Assert.assertEquals("my.blarg", typeElement.getCanonicalText()); in testGetType() 63 SmaliClass resolvedClass = (SmaliClass)typeElement.resolve(); in testGetType() 84 SmaliClassTypeElement typeElement = in testSimpleInnerClass() local 86 Assert.assertNotNull(typeElement); in testSimpleInnerClass() 87 SmaliClassType type = typeElement.getType(); in testSimpleInnerClass() 89 Assert.assertEquals("Outer.Inner", typeElement.getQualifiedName()); in testSimpleInnerClass() [all …]
|
D | ClassReferenceTest.java | 50 SmaliClassTypeElement typeElement = (SmaliClassTypeElement)configureByFileText( in testJavaReferenceFromSmali() local 53 Assert.assertNotNull(typeElement); in testJavaReferenceFromSmali() 54 Assert.assertEquals("Object", typeElement.getName()); in testJavaReferenceFromSmali() 56 PsiClass psiClass = typeElement.resolve(); in testJavaReferenceFromSmali() 60 JavaResolveResult resolveResult = typeElement.advancedResolve(false); in testJavaReferenceFromSmali() 64 JavaResolveResult[] resolveResults = typeElement.multiResolve(false); in testJavaReferenceFromSmali() 74 SmaliClassTypeElement typeElement = (SmaliClassTypeElement)configureByFileText( in testJavaReferenceFromSmaliInDumbMode() local 77 Assert.assertNotNull(typeElement); in testJavaReferenceFromSmaliInDumbMode() 78 Assert.assertEquals("Object", typeElement.getName()); in testJavaReferenceFromSmaliInDumbMode() 82 PsiClass psiClass = typeElement.resolve(); in testJavaReferenceFromSmaliInDumbMode() [all …]
|
D | SmaliFieldTest.java | 59 PsiTypeElement typeElement = fields[0].getTypeElement(); in testBasicField() local 60 Assert.assertNotNull("I", typeElement); in testBasicField() 61 Assert.assertEquals("I", typeElement.getText()); in testBasicField() 226 PsiTypeElement typeElement = fields[0].getTypeElement(); in testFieldAnnotations() local 227 Assert.assertNotNull("I", typeElement); in testFieldAnnotations() 228 Assert.assertEquals("I", typeElement.getText()); in testFieldAnnotations()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | Util.java | 120 private static boolean requiresEnclosingInstance(TypeElement typeElement) { in requiresEnclosingInstance() argument 121 switch (typeElement.getNestingKind()) { in requiresEnclosingInstance() 125 return !typeElement.getModifiers().contains(STATIC); in requiresEnclosingInstance() 131 + typeElement.getNestingKind()); in requiresEnclosingInstance() 139 static boolean componentCanMakeNewInstances(TypeElement typeElement) { in componentCanMakeNewInstances() argument 140 switch (typeElement.getKind()) { in componentCanMakeNewInstances() 148 throw new AssertionError("TypeElement cannot have kind: " + typeElement.getKind()); in componentCanMakeNewInstances() 151 if (typeElement.getModifiers().contains(ABSTRACT)) { in componentCanMakeNewInstances() 155 if (requiresEnclosingInstance(typeElement)) { in componentCanMakeNewInstances() 159 for (Element enclosed : typeElement.getEnclosedElements()) { in componentCanMakeNewInstances()
|
D | Binding.java | 195 TypeElement typeElement = MoreElements.asType(t.asElement()); in nonPublicPackageUse() 196 if (!typeElement.getModifiers().contains(PUBLIC)) { in nonPublicPackageUse() 197 PackageElement elementPackage = MoreElements.getPackage(typeElement); in nonPublicPackageUse() 204 typeElement.getEnclosingElement().asType().accept(this, p); in nonPublicPackageUse()
|
D | Scope.java | 112 TypeElement typeElement = MoreTypes.asTypeElement(annotationMirror.getAnnotationType()); in getQualifiedName() local 113 return typeElement.getQualifiedName().toString(); in getQualifiedName()
|
D | MapKeyGenerator.java | 169 TypeElement typeElement = MoreTypes.asTypeElement(t); 170 if (typeElement.getKind() == ElementKind.ANNOTATION_TYPE) { 171 nestedAnnotationElements(typeElement, p);
|
D | ProvisionBinding.java | 144 TypeElement typeElement = MoreElements.asType(type.asElement()); in membersInjectionRequest() local 146 typeElement.getSuperclass())) { in membersInjectionRequest() 149 for (Element enclosedElement : typeElement.getEnclosedElements()) { in membersInjectionRequest()
|
D | MembersInjectionBinding.java | 213 TypeElement typeElement = MoreElements.asType(declaredType.asElement()); in forInjectedType() local 219 hasNonDefaultTypeParameters(typeElement, key.type(), types), in forInjectedType() 220 typeElement, in forInjectedType()
|
D | SourceFiles.java | 276 static ClassName membersInjectorNameForType(TypeElement typeElement) { in membersInjectorNameForType() argument 277 ClassName injectedClassName = ClassName.fromTypeElement(typeElement); in membersInjectorNameForType()
|
D | ConfigurationAnnotations.java | 195 static ImmutableList<DeclaredType> enclosedBuilders(TypeElement typeElement, in enclosedBuilders() argument 198 for (TypeElement element : ElementFilter.typesIn(typeElement.getEnclosedElements())) { in enclosedBuilders()
|
D | AbstractComponentWriter.java | 1148 private static String simpleVariableName(TypeElement typeElement) { in simpleVariableName() argument 1149 return UPPER_CAMEL.to(LOWER_CAMEL, typeElement.getSimpleName().toString()); in simpleVariableName()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/ |
D | SmaliFieldElementType.java | 69 SmaliTypeElement typeElement = psi.getTypeElement(); in createStub() local 70 if (typeElement != null) { in createStub() 71 fieldSmaliTypeName = typeElement.getSmaliName(); in createStub()
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
D | SmaliMethodParameter.java | 79 SmaliTypeElement typeElement = findChildByClass(SmaliTypeElement.class); in getTypeElement() local 80 assert typeElement != null; in getTypeElement() 81 return typeElement; in getTypeElement()
|
D | SmaliField.java | 99 PsiTypeElement typeElement = getTypeElement(); in getType() local 100 if (typeElement == null) { in getType()
|
/external/parameter-framework/upstream/parameter/ |
D | SubsystemObject.cpp | 84 const CTypeElement *typeElement = in toPlainInteger() local 88 return typeElement->toPlainInteger(sizeOptimizedData); in toPlainInteger()
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
D | TypeWriter.java | 85 public void addImplementedType(TypeElement typeElement) { in addImplementedType() argument 86 implementedTypes.add(ClassName.fromTypeElement(typeElement)); in addImplementedType()
|
/external/dagger2/compiler/src/test/java/dagger/internal/codegen/ |
D | KeyTest.java | 68 TypeElement typeElement = in forInjectConstructorWithResolvedType() local 71 Iterables.getOnlyElement(ElementFilter.constructorsIn(typeElement.getEnclosedElements())); in forInjectConstructorWithResolvedType() 76 MoreTypes.equivalence().wrap(typeElement.asType()))); in forInjectConstructorWithResolvedType()
|