/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/ |
D | ClassOrInterfaceDeclarationContextResolutionTest.java | 64 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in getParentForTopClass() 74 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveExistingGenericType() 94 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveUnexistingGenericType() 105 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToDeclaredInstanceField() 116 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToDeclaredStaticField() 127 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToInheritedInstanceField() 138 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToInterfaceInheritedInstanceField() 149 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToInheritedStaticField() 160 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolReferringToUnknownElement() 170 CompilationUnit cu = parseSample("ClassWithSymbols"); in solveSymbolAsValueReferringToDeclaredInstanceField() [all …]
|
D | CompilationUnitContextResolutionTest.java | 64 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in getParent() 72 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveExistingGenericType() 86 CompilationUnit cu = parseSample("ClassWithTypeVariables"); in solveUnexistingGenericType() 96 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticallyImportedValue() 111 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticallyImportedUsingAsteriskValue() 125 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolReferringToStaticField() 135 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolAsValueReferringToStaticallyImportedValue() 148 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolAsValueReferringToStaticallyImportedUsingAsteriskValue() 161 CompilationUnit cu = parseSample("CompilationUnitSymbols"); in solveSymbolAsValueReferringToStaticField() 171 CompilationUnit cu = parseSample("CompilationUnitWithImports"); in solveTypeInSamePackage() [all …]
|
D | EnumDeclarationContextResolutionTest.java | 51 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolReferringToDeclaredInstanceField() 62 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolReferringToDeclaredStaticField() 73 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolReferringToValue() 84 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolAsValueReferringToDeclaredInstanceField() 95 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolAsValueReferringToDeclaredStaticField() 106 CompilationUnit cu = parseSample("AnEnum"); in solveSymbolAsValueReferringToValue()
|
D | LambdaExprContextResolutionTest.java | 59 CompilationUnit cu = parseSample("Lambda"); in solveParameterOfLambdaInMethodCallExpr() 76 CompilationUnit cu = parseSample("Lambda"); in solveParameterOfLambdaInFieldDecl() 96 CompilationUnit cu = parseSample("Lambda"); in solveParameterOfLambdaInVarDecl()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/ |
D | GenericsResolutionTest.java | 51 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToString() 68 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToDeclaredClass() 85 CompilationUnit cu = parseSample("Generics"); in resolveFieldWithGenericTypeToInteger() 102 CompilationUnit cu = parseSample("Generics"); in resolveFieldOfVariableType() 119 CompilationUnit cu = parseSample("Generics"); in resolveFieldOfGenericReferringToVariableType() 140 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfGenericFieldSimpleCase() 156 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfGenericFieldIntermediateCase() 172 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfGenericFieldAdvancedCase() 190 CompilationUnit cu = parseSample("Generics"); in resolveUsageOfMethodOfGenericClass() 202 CompilationUnit cu = parseSample("GenericsWildcard"); in resolveUsageOfMethodOfGenericClassWithUnboundedWildcard() [all …]
|
D | AnnotationsResolutionTest.java | 55 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserMarkerAnnotation() 71 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserSingleMemberAnnotation() 87 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserNormalAnnotation() 103 CompilationUnit cu = parseSample("Annotations"); in solveReflectionMarkerAnnotation() 120 CompilationUnit cu = parseSample("Annotations"); in solveReflectionSingleMemberAnnotation() 140 CompilationUnit cu = parseSample("Annotations"); in solveJavassistMarkerAnnotation() 157 CompilationUnit cu = parseSample("Annotations"); in solveJavassistSingleMemberAnnotation() 174 CompilationUnit cu = parseSample("Annotations"); in solveJavassistNormalAnnotation() 191 CompilationUnit cu = parseSample("Annotations"); in solveJavaParserMetaAnnotations() 208 CompilationUnit cu = parseSample("Annotations"); in solveReflectionMetaAnnotations() [all …]
|
D | LambdaResolutionTest.java | 37 CompilationUnit cu = parseSample("Lambda"); in lambdaMapParameter() 51 CompilationUnit cu = parseSample("Lambda"); in personsStream() 65 CompilationUnit cu = parseSample("Lambda"); in lambdaMap() 83 CompilationUnit cu = parseSample("Lambda"); in lambdaReduce() 96 CompilationUnit cu = parseSample("Lambda"); in lambdaPrint() 109 CompilationUnit cu = parseSample("Lambda"); in lambdaBifunc() 122 CompilationUnit cu = parseSample("LambdaCollect"); in lambdaCollectParam() 137 CompilationUnit cu = parseSample("LambdaCollect"); in lambdaCollect() 150 CompilationUnit cu = parseSample("LambdaMulti"); in lambdaBlockExplicitReturn() 163 CompilationUnit cu = parseSample("LambdaMulti"); in lambdaBlockMultiLineReturn() [all …]
|
D | AbstractResolutionTest.java | 31 return parseSample(sampleName, "java"); in parseSampleWithStandardExtension() 34 protected CompilationUnit parseSample(String sampleName) { in parseSample() method in AbstractResolutionTest 35 return parseSample(sampleName, "java.txt"); in parseSample() 38 private CompilationUnit parseSample(String sampleName, String extension) { in parseSample() method in AbstractResolutionTest
|
D | ContextTest.java | 61 private CompilationUnit parseSample(String sampleName) { in parseSample() method in ContextTest 68 CompilationUnit cu = parseSample("ReferencesToField"); in resolveDeclaredFieldReference() 84 CompilationUnit cu = parseSample("ReferencesToField"); in resolveInheritedFieldReference() 100 CompilationUnit cu = parseSample("ReferencesToParameter"); in resolveParameterReference() 115 CompilationUnit cu = parseSample("Navigator"); in resolveReferenceToImportedType() 138 CompilationUnit cu = parseSample("Navigator2"); in resolveReferenceUsingQualifiedName() 162 CompilationUnit cu = parseSample("Navigator3"); in resolveReferenceToClassesInTheSamePackage() 185 CompilationUnit cu = parseSample("Navigator"); in resolveReferenceToClassInJavaLang() 209 CompilationUnit cu = parseSample("Navigator"); in resolveReferenceToMethod() 228 CompilationUnit cu = parseSample("Navigator"); in resolveCascadeOfReferencesToMethod() [all …]
|
D | MethodsResolutionTest.java | 60 CompilationUnit cu = parseSample("PlatformTestUtil"); in testConsistentMethodResultion() 107 CompilationUnit cu = parseSample("AccessThroughSuper"); in solveMethodAccessThroughSuper() 119 CompilationUnit cu = parseSample("ClassExpression"); in solveMethodWithClassExpressionAsParameter() 130 CompilationUnit cu = parseSample("MethodCalls"); in solveMethodInInterfaceParent() 145 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToLong() 179 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToInt() 212 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToShort() 244 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToByte() 275 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToLongWithExtraParam() 309 CompilationUnit cu = parseSample("Issue338"); in solveMethodWithTypePromotionsToIntWithExtraParam() [all …]
|
D | FieldsResolutionTest.java | 57 CompilationUnit cu = parseSample("AccessClassMemberThroughThis"); in accessClassFieldThroughThis() 69 CompilationUnit cu = parseSample("AccessClassMemberThroughThis"); in accessClassFieldThroughThisWithCompetingSymbolInParentContext() 87 CompilationUnit cu = parseSample("AccessEnumMemberThroughThis"); in accessEnumFieldThroughThis() 99 CompilationUnit cu = parseSample("AccessEnumMemberThroughThis"); in accessEnumMethodThroughThis() 111 CompilationUnit cu = parseSample("AccessThroughSuper"); in accessClassFieldThroughSuper() 127 CompilationUnit cu = parseSample("AccessClassMemberThroughThis"); in resolveClassFieldThroughThis() 149 CompilationUnit cu = parseSample("AccessThroughSuper"); in resolveClassFieldThroughSuper() 172 CompilationUnit cu = parseSample("ClassExtendingUnknownClass"); in resolveClassFieldOfClassExtendingUnknownClass1() 194 CompilationUnit cu = parseSample("ClassExtendingUnknownClass"); in resolveClassFieldOfClassExtendingUnknownClass2() 216 CompilationUnit cu = parseSample("ReflectionTypeSolverFieldFromInterfaceResolution"); in resolveInheritedFieldFromInterface()
|
D | ConstructorsResolutionTest.java | 34 CompilationUnit cu = parseSample("ConstructorCalls"); in solveNormalConstructor() 53 CompilationUnit cu = parseSample("ConstructorCalls"); in solveInnerClassConstructor() 72 CompilationUnit cu = parseSample("ConstructorCalls"); in solveInnerClassConstructorWithNewScope() 91 CompilationUnit cu = parseSample("ConstructorCalls"); in solveInnerInnerClassConstructor() 113 CompilationUnit cu = parseSample("ConstructorCallsEnum"); in solveEnumConstructor() 129 CompilationUnit cu = parseSample("ReflectionTypeSolverConstructorResolution"); in solveNonPublicParentConstructorReflection()
|
D | StatementContextResolutionTest.java | 39 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalVariableInParentOfParent() 51 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalVariableInParent() 63 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalVariableInSameParent() 75 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveLocalAndSeveralAnnidatedLevels() 92 CompilationUnit cu = parseSample("LocalVariableInParent"); in resolveMethodOnGenericClass()
|
D | VariadicResolutionTest.java | 45 CompilationUnit cu = parseSample("Generics_issue7"); in issue7() 61 CompilationUnit cu = parseSample("MethodCalls"); in methodCallWithReferenceTypeAsVaridicArgumentIsSolved() 75 CompilationUnit cu = parseSample("MethodCalls"); in resolveVariadicMethodWithGenericArgument() 89 CompilationUnit cu = parseSample("MethodCalls"); in selectMostSpecificVariadic()
|
D | EnumResolutionTest.java | 45 CompilationUnit cu = parseSample("SwitchOnEnum"); in switchOnEnum() 58 CompilationUnit cu = parseSample("EnumAndStaticInitializer"); in enumAndStaticInitializer() 74 CompilationUnit cu = parseSample("EnumFieldAccess"); in resolveEnumConstantAccess()
|
D | UnknownMethodsResolutionTest.java | 21 CompilationUnit cu = parseSample("UnknownMethods"); in testUnknownMethod1() 33 CompilationUnit cu = parseSample("UnknownMethods"); in testUnknownMethod2()
|
D | MethodLikeSignaturesTest.java | 21 CompilationUnit cu = parseSample("MethodLikeSignaturesTest"); in checkReflectionConstructorSignature() 38 CompilationUnit cu = parseSample("MethodLikeSignaturesTest"); in checkReflectionMethodSignature()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/ |
D | JavaParserAnonymousClassDeclarationTest.java | 22 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in anonymousClassAsMethodArgument() 38 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in callingSuperClassInnerClassMethod() 54 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in callingAnonymousClassInnerMethod() 71 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in usingAnonymousSuperClassInnerType() 86 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in usingAnonymousClassInnerType() 101 CompilationUnit cu = parseSample("AnonymousClassDeclarations"); in callingScopedAnonymousClassInnerMethod()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/reflectionmodel/ |
D | SymbolResolutionResolutionTest.java | 40 CompilationUnit cu = parseSample("ReflectionFieldOfItself"); in getTypeOfField() 51 CompilationUnit cu = parseSample("ReflectionFieldOfItself"); in getTypeOfFieldAccess() 62 CompilationUnit cu = parseSample("JreConditionalExpression"); in conditionalExpressionExample() 75 CompilationUnit cu = parseSample("JreConditionalExpression"); in conditionalExpressionExampleFollowUp1()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/declarations/ |
D | JavaParserTypeParameterResolutionTest.java | 40 CompilationUnit cu = parseSample("GenericMethodArguments"); in testGenericArguments() 62 CompilationUnit cu = parseSample("MethodTypeParameter"); in declaredOnMethodPositiveCase() 79 CompilationUnit cu = parseSample("ClassTypeParameter"); in declaredOnMethodNegativeCase()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/ |
D | JavaSymbolSolverTest.java | 36 CompilationUnit cu = parseSample("SymbolResolverExample"); in resolveMethodDeclaration() 51 CompilationUnit cu = parseSample("SymbolResolverExample"); in resolveArrayType()
|
D | FindingAllFieldsTest.java | 38 CompilationUnit cu = parseSample("AClassWithFields"); in findAllInheritedFields() 48 CompilationUnit cu = parseSample("AClassWithFieldsAndGenerics"); in findAllInheritedFieldsAndGenerics()
|
D | Issue186Test.java | 23 CompilationUnit cu = parseSample("Issue186"); in lambdaFlatMapIssue() 35 CompilationUnit cu = parseSample("Issue186"); in lambdaPrimitivesIssue()
|
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ |
D | CommentsInserterTest.java | 41 private ParseResult<CompilationUnit> parseSample(String sampleName) throws IOException { in parseSample() method in CommentsInserterTest 52 ParseResult result = parseSample("Issue290"); in issue290()
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
D | MultiCatchMethodCallExprTest.java | 19 CompilationUnit cu = parseSample("Issue1482"); in issue1482()
|