/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | ContextHelper.java | 46 …public static Optional<MethodUsage> solveMethodAsUsage(TypeDeclaration typeDeclaration, String nam… in solveMethodAsUsage() argument 49 if (typeDeclaration instanceof JavassistClassDeclaration) { in solveMethodAsUsage() 50 …return ((JavassistClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, type… in solveMethodAsUsage() 51 } else if (typeDeclaration instanceof JavassistInterfaceDeclaration) { in solveMethodAsUsage() 52 …return ((JavassistInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, … in solveMethodAsUsage() 53 } else if (typeDeclaration instanceof JavassistEnumDeclaration) { in solveMethodAsUsage() 54 …return ((JavassistEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typeS… in solveMethodAsUsage() 55 } else if (typeDeclaration instanceof ReflectionClassDeclaration) { in solveMethodAsUsage() 56 …return ((ReflectionClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typ… in solveMethodAsUsage() 57 } else if (typeDeclaration instanceof ReflectionInterfaceDeclaration) { in solveMethodAsUsage() [all …]
|
D | JavaParserTypeDeclarationAdapter.java | 30 private ReferenceTypeDeclaration typeDeclaration; field in JavaParserTypeDeclarationAdapter 33 ReferenceTypeDeclaration typeDeclaration, in JavaParserTypeDeclarationAdapter() argument 37 this.typeDeclaration = typeDeclaration; in JavaParserTypeDeclarationAdapter() 71 for (ReferenceType ancestor : this.typeDeclaration.getAncestors()) { in solveType() 87 List<MethodDeclaration> candidateMethods = typeDeclaration.getDeclaredMethods().stream() in solveMethod() 92 if (!Object.class.getCanonicalName().equals(typeDeclaration.getQualifiedName())) { in solveMethod() 93 for (ReferenceType ancestor : typeDeclaration.getAncestors()) { in solveMethod() 95 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod() 117 if (candidateMethods.isEmpty() && typeDeclaration.isInterface()) { in solveMethod() 128 if (typeDeclaration instanceof ClassDeclaration) { in solveConstructor() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-model/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ReferenceType.java | 44 protected ReferenceTypeDeclaration typeDeclaration; field in ReferenceType 52 public ReferenceType(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceType() argument 53 this(typeDeclaration, deriveParams(typeDeclaration), typeSolver); in ReferenceType() 56 …public ReferenceType(ReferenceTypeDeclaration typeDeclaration, List<Type> typeParameters, TypeSolv… in ReferenceType() argument 60 if (typeDeclaration.isTypeParameter()) { in ReferenceType() 63 …if (typeParameters.size() > 0 && typeParameters.size() != typeDeclaration.getTypeParameters().size… in ReferenceType() 65 typeDeclaration.getTypeParameters().size(), typeParameters.size())); in ReferenceType() 69 …typeParametersMapBuilder.setValue(typeDeclaration.getTypeParameters().get(i), typeParameters.get(i… in ReferenceType() 72 this.typeDeclaration = typeDeclaration; in ReferenceType() 87 if (!typeDeclaration.equals(that.typeDeclaration)) return false; in equals() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/resolution/types/ |
D | ResolvedReferenceType.java | 53 protected ResolvedReferenceTypeDeclaration typeDeclaration; field in ResolvedReferenceType 60 public ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration) { in ResolvedReferenceType() argument 61 this(typeDeclaration, deriveParams(typeDeclaration)); in ResolvedReferenceType() 64 …public ResolvedReferenceType(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> … in ResolvedReferenceType() argument 65 if (typeDeclaration == null) { in ResolvedReferenceType() 68 if (typeDeclaration.isTypeParameter()) { in ResolvedReferenceType() 71 …if (typeArguments.size() > 0 && typeArguments.size() != typeDeclaration.getTypeParameters().size()… in ResolvedReferenceType() 74 typeDeclaration.getTypeParameters().size(), typeArguments.size())); in ResolvedReferenceType() 78 …typeParametersMapBuilder.setValue(typeDeclaration.getTypeParameters().get(i), typeArguments.get(i)… in ResolvedReferenceType() 81 this.typeDeclaration = typeDeclaration; in ResolvedReferenceType() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/ |
D | SymbolSolver.java | 117 ResolvedReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(name); in solveTypeUsage() local 118 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in solveTypeUsage() 127 … ResolvedValueDeclaration> solveSymbolInType(ResolvedTypeDeclaration typeDeclaration, String name)… in solveSymbolInType() argument 128 if (typeDeclaration instanceof JavaParserClassDeclaration) { in solveSymbolInType() 129 Context ctx = ((JavaParserClassDeclaration) typeDeclaration).getContext(); in solveSymbolInType() 132 if (typeDeclaration instanceof JavaParserInterfaceDeclaration) { in solveSymbolInType() 133 Context ctx = ((JavaParserInterfaceDeclaration) typeDeclaration).getContext(); in solveSymbolInType() 136 if (typeDeclaration instanceof JavaParserEnumDeclaration) { in solveSymbolInType() 137 Context ctx = ((JavaParserEnumDeclaration) typeDeclaration).getContext(); in solveSymbolInType() 140 if (typeDeclaration instanceof ReflectionClassDeclaration) { in solveSymbolInType() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/resolution/ |
D | SymbolSolver.java | 115 ReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(name); in solveTypeUsage() local 116 ReferenceTypeImpl typeUsage = new ReferenceTypeImpl(typeDeclaration, typeSolver); in solveTypeUsage() 126 …erence<? extends ValueDeclaration> solveSymbolInType(TypeDeclaration typeDeclaration, String name)… in solveSymbolInType() argument 127 if (typeDeclaration instanceof JavaParserClassDeclaration) { in solveSymbolInType() 128 Context ctx = ((JavaParserClassDeclaration) typeDeclaration).getContext(); in solveSymbolInType() 131 if (typeDeclaration instanceof JavaParserInterfaceDeclaration) { in solveSymbolInType() 132 Context ctx = ((JavaParserInterfaceDeclaration) typeDeclaration).getContext(); in solveSymbolInType() 135 if (typeDeclaration instanceof JavaParserEnumDeclaration) { in solveSymbolInType() 136 Context ctx = ((JavaParserEnumDeclaration) typeDeclaration).getContext(); in solveSymbolInType() 139 if (typeDeclaration instanceof ReflectionClassDeclaration) { in solveSymbolInType() [all …]
|
D | MethodResolutionLogic.java | 570 …SymbolReference<MethodDeclaration> solveMethodInType(TypeDeclaration typeDeclaration, String name,… in solveMethodInType() argument 571 return solveMethodInType(typeDeclaration, name, argumentsTypes, false, typeSolver); in solveMethodInType() 583 …public static SymbolReference<MethodDeclaration> solveMethodInType(TypeDeclaration typeDeclaration, in solveMethodInType() argument 586 if (typeDeclaration instanceof JavaParserClassDeclaration) { in solveMethodInType() 587 Context ctx = ((JavaParserClassDeclaration) typeDeclaration).getContext(); in solveMethodInType() 590 if (typeDeclaration instanceof JavaParserInterfaceDeclaration) { in solveMethodInType() 591 Context ctx = ((JavaParserInterfaceDeclaration) typeDeclaration).getContext(); in solveMethodInType() 594 if (typeDeclaration instanceof JavaParserEnumDeclaration) { in solveMethodInType() 596 …w JavaParserEnumDeclaration.ValuesMethod((JavaParserEnumDeclaration) typeDeclaration, typeSolver)); in solveMethodInType() 598 Context ctx = ((JavaParserEnumDeclaration) typeDeclaration).getContext(); in solveMethodInType() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ReferenceTypeImpl.java | 41 …public static ReferenceType undeterminedParameters(ReferenceTypeDeclaration typeDeclaration, TypeS… in undeterminedParameters() argument 42 … return new ReferenceTypeImpl(typeDeclaration, typeDeclaration.getTypeParameters().stream().map( in undeterminedParameters() 48 …protected ReferenceType create(ReferenceTypeDeclaration typeDeclaration, List<Type> typeParameters… in create() argument 49 return new ReferenceTypeImpl(typeDeclaration, typeParametersCorrected, typeSolver); in create() 53 … protected ReferenceType create(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in create() argument 54 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in create() 57 public ReferenceTypeImpl(ReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() argument 58 super(typeDeclaration, typeSolver); in ReferenceTypeImpl() 61 …public ReferenceTypeImpl(ReferenceTypeDeclaration typeDeclaration, List<Type> typeParameters, Type… in ReferenceTypeImpl() argument 62 super(typeDeclaration, typeParameters, typeSolver); in ReferenceTypeImpl() [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/model/typesystem/ |
D | ReferenceTypeImpl.java | 49 …eferenceType undeterminedParameters(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver t… in undeterminedParameters() argument 50 … return new ReferenceTypeImpl(typeDeclaration, typeDeclaration.getTypeParameters().stream().map( in undeterminedParameters() 56 …protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration, List<Reso… in create() argument 57 return new ReferenceTypeImpl(typeDeclaration, typeParametersCorrected, typeSolver); in create() 61 protected ResolvedReferenceType create(ResolvedReferenceTypeDeclaration typeDeclaration) { in create() argument 62 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in create() 65 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, TypeSolver typeSolver) { in ReferenceTypeImpl() argument 66 super(typeDeclaration); in ReferenceTypeImpl() 70 …public ReferenceTypeImpl(ResolvedReferenceTypeDeclaration typeDeclaration, List<ResolvedType> type… in ReferenceTypeImpl() argument 71 super(typeDeclaration, typeArguments); in ReferenceTypeImpl() [all …]
|
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/ |
D | RecordPublicApiRules.java | 156 AbstractTypeDeclaration typeDeclaration = TypeLocator.findTypeDeclarationNode(node); in isPublicApiEligible() local 157 if (typeDeclaration == null) { in isPublicApiEligible() 163 boolean isNonTypeDeclaration = typeDeclaration != node; in isPublicApiEligible() 165 if (isExplicitlyHidden(node) || !isMemberPublicApiEligible(typeDeclaration, node)) { in isPublicApiEligible() 169 while (typeDeclaration != null) { in isPublicApiEligible() 170 if (isExplicitlyHidden(typeDeclaration) || in isPublicApiEligible() 171 !RecordPublicApiRules.isTypePublicApiEligible(typeDeclaration)) { in isPublicApiEligible() 174 typeDeclaration = TypeLocator.findEnclosingTypeDeclaration(typeDeclaration); in isPublicApiEligible() 197 private static boolean isTypePublicApiEligible(AbstractTypeDeclaration typeDeclaration) { in isTypePublicApiEligible() argument 198 int typeModifiers = typeDeclaration.getModifiers(); in isTypePublicApiEligible() [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/declarations/ |
D | JavaParserTypeParameterResolutionTest.java | 86 ResolvedReferenceTypeDeclaration typeDeclaration = methodDeclaration.declaringType(); in declaredOnMethodNegativeCase() local 87 assertEquals(2, typeDeclaration.getTypeParameters().size()); in declaredOnMethodNegativeCase() 88 assertTrue(typeDeclaration.getTypeParameters().get(0) instanceof JavaParserTypeParameter); in declaredOnMethodNegativeCase() 89 assertEquals("A", typeDeclaration.getTypeParameters().get(0).getName()); in declaredOnMethodNegativeCase() 90 assertEquals(false, typeDeclaration.getTypeParameters().get(0).declaredOnMethod()); in declaredOnMethodNegativeCase() 91 assertEquals(true, typeDeclaration.getTypeParameters().get(0).declaredOnType()); in declaredOnMethodNegativeCase() 92 assertTrue(typeDeclaration.getTypeParameters().get(1) instanceof JavaParserTypeParameter); in declaredOnMethodNegativeCase() 93 assertEquals("B", typeDeclaration.getTypeParameters().get(1).getName()); in declaredOnMethodNegativeCase() 94 assertEquals(false, typeDeclaration.getTypeParameters().get(1).declaredOnMethod()); in declaredOnMethodNegativeCase() 95 assertEquals(true, typeDeclaration.getTypeParameters().get(1).declaredOnType()); in declaredOnMethodNegativeCase()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/ |
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_ContextHelper.txt | 1 …Line 50) ((JavassistClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, ty… 2 …Line 52) ((JavassistInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes… 3 …Line 54) ((JavassistEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, typ… 4 …Line 56) ((ReflectionClassDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, t… 5 …Line 58) ((ReflectionInterfaceDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsType… 6 …Line 60) ((ReflectionEnumDeclaration) typeDeclaration).solveMethodAsUsage(name, argumentsTypes, ty… 7 …Line 62) ((JavaParserClassDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, argu… 8 …Line 62) ((JavaParserClassDeclaration) typeDeclaration).getContext() ==> com.github.javaparser.sym… 9 …Line 64) ((JavaParserInterfaceDeclaration) typeDeclaration).getContext().solveMethodAsUsage(name, … 10 …Line 64) ((JavaParserInterfaceDeclaration) typeDeclaration).getContext() ==> com.github.javaparser… [all …]
|
D | com_github_javaparser_symbolsolver_javaparsermodel_contexts_JavaParserTypeDeclarationAdapter.txt | 38 …Line 71) this.typeDeclaration.getAncestors() ==> com.github.javaparser.symbolsolver.model.declarat… 46 …Line 87) typeDeclaration.getDeclaredMethods().stream().filter(m -> m.getName().equals(name)).filte… 47 …Line 87) typeDeclaration.getDeclaredMethods().stream().filter(m -> m.getName().equals(name)).filte… 48 …Line 87) typeDeclaration.getDeclaredMethods().stream().filter(m -> m.getName().equals(name)) ==> j… 49 Line 87) typeDeclaration.getDeclaredMethods().stream() ==> java.util.Collection.stream() 50 …Line 87) typeDeclaration.getDeclaredMethods() ==> com.github.javaparser.symbolsolver.model.declara… 55 …Line 92) Object.class.getCanonicalName().equals(typeDeclaration.getQualifiedName()) ==> java.lang.… 57 …Line 92) typeDeclaration.getQualifiedName() ==> com.github.javaparser.symbolsolver.model.declarati… 58 …Line 93) typeDeclaration.getAncestors() ==> com.github.javaparser.symbolsolver.model.declarations.… 72 …Line 117) typeDeclaration.isInterface() ==> com.github.javaparser.symbolsolver.model.declarations.… [all …]
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | FindingAllFieldsTest.java | 40 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(new ReflectionTypeSolver()… in findAllInheritedFields() local 41 assertEquals(3, typeDeclaration.getAllFields().size()); in findAllInheritedFields() 43 …typeDeclaration.getAllFields().stream().map(ResolvedDeclaration::getName).collect(Collectors.toSet… in findAllInheritedFields() 50 …ResolvedReferenceTypeDeclaration typeDeclaration = JavaParserFacade.get(new ReflectionTypeSolver()… in findAllInheritedFieldsAndGenerics() local 51 assertEquals(3, typeDeclaration.getAllFields().size()); in findAllInheritedFieldsAndGenerics() 53 …typeDeclaration.getAllFields().stream().map(ResolvedDeclaration::getName).collect(Collectors.toSet… in findAllInheritedFieldsAndGenerics() 54 …assertEquals("java.util.List<java.lang.String>", typeDeclaration.getField("b").getType().describe(… in findAllInheritedFieldsAndGenerics()
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | JavaParserTypeDeclarationAdapter.java | 31 private ResolvedReferenceTypeDeclaration typeDeclaration; field in JavaParserTypeDeclarationAdapter 34 ResolvedReferenceTypeDeclaration typeDeclaration, in JavaParserTypeDeclarationAdapter() argument 38 this.typeDeclaration = typeDeclaration; in JavaParserTypeDeclarationAdapter() 72 ResolvedTypeDeclaration type = checkAncestorsForType(name, this.typeDeclaration); in solveType() 113 … List<ResolvedMethodDeclaration> candidateMethods = typeDeclaration.getDeclaredMethods().stream() in solveMethod() 118 if (!Object.class.getCanonicalName().equals(typeDeclaration.getQualifiedName())) { in solveMethod() 119 for (ResolvedReferenceType ancestor : typeDeclaration.getAncestors(true)) { in solveMethod() 121 if (typeDeclaration != ancestor.getTypeDeclaration()) { in solveMethod() 147 if (candidateMethods.isEmpty() && typeDeclaration.isInterface()) { in solveMethod() 158 if (typeDeclaration instanceof ResolvedClassDeclaration) { in solveConstructor() [all …]
|
D | ContextHelper.java | 37 …public static Optional<MethodUsage> solveMethodAsUsage(ResolvedTypeDeclaration typeDeclaration, St… in solveMethodAsUsage() argument 41 if (typeDeclaration instanceof MethodUsageResolutionCapability) { in solveMethodAsUsage() 42 return ((MethodUsageResolutionCapability) typeDeclaration) in solveMethodAsUsage() 45 throw new UnsupportedOperationException(typeDeclaration.toString()); in solveMethodAsUsage()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/ |
D | TypeLocator.java | 82 public TypeLocator(final AbstractTypeDeclaration typeDeclaration) { in TypeLocator() argument 83 if (typeDeclaration.isLocalTypeDeclaration()) { in TypeLocator() 84 throw new IllegalArgumentException("Local types not supported: " + typeDeclaration); in TypeLocator() 87 CompilationUnit cu = (CompilationUnit) typeDeclaration.getRoot(); in TypeLocator() 93 AbstractTypeDeclaration currentNode = typeDeclaration; in TypeLocator() 217 AbstractTypeDeclaration typeDeclaration) { in findNested() argument 219 return typeDeclaration; in findNested() 224 List<BodyDeclaration> bodyDeclarations = typeDeclaration.bodyDeclarations(); in findNested() 264 AbstractTypeDeclaration typeDeclaration) { in findEnclosingTypeDeclaration() argument 265 if (typeDeclaration.isPackageMemberTypeDeclaration()) { in findEnclosingTypeDeclaration() [all …]
|
D | EnumConstantLocator.java | 69 AbstractTypeDeclaration typeDeclaration = typeLocator.find(cu); in find() local 70 if (typeDeclaration == null || !(typeDeclaration instanceof EnumDeclaration)) { in find() 74 : (List<EnumConstantDeclaration>) ((EnumDeclaration) typeDeclaration).enumConstants()) { in find()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-model/ |
D | com_github_javaparser_symbolsolver_model_typesystem_ReferenceType.txt | 1 …Line 53) deriveParams(typeDeclaration) ==> com.github.javaparser.symbolsolver.model.typesystem.Ref… 2 …Line 60) typeDeclaration.isTypeParameter() ==> com.github.javaparser.symbolsolver.model.declaratio… 5 Line 63) typeDeclaration.getTypeParameters().size() ==> java.util.List.size() 6 …Line 63) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat… 7 …arameters or has many as defined in the declaration (%d). Found %d", typeDeclaration.getTypeParame… 8 Line 65) typeDeclaration.getTypeParameters().size() ==> java.util.List.size() 9 …Line 65) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat… 12 …Line 69) typeParametersMapBuilder.setValue(typeDeclaration.getTypeParameters().get(i), typeParamet… 13 Line 69) typeDeclaration.getTypeParameters().get(i) ==> java.util.List.get(int) 14 …Line 69) typeDeclaration.getTypeParameters() ==> com.github.javaparser.symbolsolver.model.declarat… [all …]
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassAdapter.java | 27 private ResolvedReferenceTypeDeclaration typeDeclaration; field in ReflectionClassAdapter 29 …sAdapter(Class<?> clazz, TypeSolver typeSolver, ResolvedReferenceTypeDeclaration typeDeclaration) { in ReflectionClassAdapter() argument 32 this.typeDeclaration = typeDeclaration; in ReflectionClassAdapter() 92 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getField() 107 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in hasField() 120 for (ResolvedReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields() 154 if (type.describe().equals(typeDeclaration.getQualifiedName())) { in isAssignableBy() 159 return otherTypeDeclaration.getTypeDeclaration().canBeAssignedTo(typeDeclaration); in isAssignableBy() 175 return FunctionalInterfaceLogic.getFunctionalMethod(typeDeclaration).isPresent(); in isFunctionalInterface()
|
D | MyObjectProvider.java | 29 ResolvedReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(qualifiedName); in byName() local 30 if (!typeDeclaration.getTypeParameters().isEmpty()) { in byName() 33 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in byName()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/reflectionmodel/ |
D | ReflectionClassAdapter.java | 27 private ReferenceTypeDeclaration typeDeclaration; field in ReflectionClassAdapter 29 …tionClassAdapter(Class<?> clazz, TypeSolver typeSolver, ReferenceTypeDeclaration typeDeclaration) { in ReflectionClassAdapter() argument 32 this.typeDeclaration = typeDeclaration; in ReflectionClassAdapter() 92 for (ReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getField() 120 for (ReferenceType ancestor : typeDeclaration.getAllAncestors()) { in getAllFields() 154 if (type.describe().equals(typeDeclaration.getQualifiedName())) { in isAssignableBy() 159 return otherTypeDeclaration.getTypeDeclaration().canBeAssignedTo(typeDeclaration); in isAssignableBy() 175 return FunctionalInterfaceLogic.getFunctionalMethod(typeDeclaration).isPresent(); in isFunctionalInterface()
|
D | MyObjectProvider.java | 29 ReferenceTypeDeclaration typeDeclaration = typeSolver.solveType(qualifiedName); in byName() local 30 if (!typeDeclaration.getTypeParameters().isEmpty()) { in byName() 33 return new ReferenceTypeImpl(typeDeclaration, typeSolver); in byName()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/ |
D | CloneVisitorTest.java | 87 TypeDeclaration<?> typeDeclaration; in cloneJavaDocTest() local 89 typeDeclaration = typeItr.next(); in cloneJavaDocTest() 90 if (typeDeclaration.getMembers() == null) { in cloneJavaDocTest() 91 assertEquals("javadoc", typeDeclaration.getComment().get().getContent()); in cloneJavaDocTest() 93 Iterator<BodyDeclaration<?>> bodyItr = typeDeclaration.getMembers().iterator(); in cloneJavaDocTest()
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/processors/ |
D | AddDefaultConstructor.java | 56 void onAddDefaultConstructor(TypeLocator locator, TypeDeclaration typeDeclaration); in onAddDefaultConstructor() argument 61 this.listener = (l, typeDeclaration) -> {}; in AddDefaultConstructor() 74 TypeDeclaration typeDeclaration = (TypeDeclaration) abstractTypeDeclaration; in process() local 75 addDefaultConstructor(rewrite, typeDeclaration); in process() 76 listener.onAddDefaultConstructor(typeLocator, typeDeclaration); in process()
|