Home
last modified time | relevance | path

Searched refs:enumDeclaration (Results 1 – 19 of 19) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DEnumDeclarationContextResolutionTest.java53 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolReferringToDeclaredInstanceField() local
54 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolReferringToDeclaredInstanceField()
64 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolReferringToDeclaredStaticField() local
65 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolReferringToDeclaredStaticField()
75 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolReferringToValue() local
76 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolReferringToValue()
86 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolAsValueReferringToDeclaredInstanceField() local
87 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolAsValueReferringToDeclaredInstanceField()
97 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolAsValueReferringToDeclaredStaticField() local
98 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolAsValueReferringToDeclaredStaticField()
[all …]
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserEnumDeclaration.java253 private JavaParserEnumDeclaration enumDeclaration; field in JavaParserEnumDeclaration.ValuesMethod
256 public ValuesMethod(JavaParserEnumDeclaration enumDeclaration, TypeSolver typeSolver) { in ValuesMethod() argument
257 this.enumDeclaration = enumDeclaration; in ValuesMethod()
263 return enumDeclaration; in declaringType()
268 return new ResolvedArrayType(new ReferenceTypeImpl(enumDeclaration, typeSolver)); in getReturnType()
316 return Helper.toAccessLevel(enumDeclaration.getWrappedNode().getModifiers()); in accessSpecifier()
DJavaParserFieldDeclaration.java69 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = (com.github.javaparser.ast.body.E… in getType() local
70 …return new ReferenceTypeImpl(new JavaParserEnumDeclaration(enumDeclaration, typeSolver), typeSolve… in getType()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java69 EnumDeclaration enumDeclaration = new EnumDeclaration(); in cloneJavaDocTest() local
70 enumDeclaration.setName("enumDeclarationTest"); in cloneJavaDocTest()
71 typeDeclarationList.add(enumDeclaration.setJavadocComment("javadoc")); in cloneJavaDocTest()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/
DCompilationUnit.java334 EnumDeclaration enumDeclaration = new EnumDeclaration(Arrays.stream(modifiers) in addEnum() local
336 getTypes().add(enumDeclaration); in addEnum()
337 enumDeclaration.setParentNode(this); in addEnum()
338 return enumDeclaration; in addEnum()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DSymbolSolverWithJavassistEnumTest.java100 private void assertCanSolveSymbol(String symbolName, JavassistEnumDeclaration enumDeclaration) { in assertCanSolveSymbol() argument
101 …solvedValueDeclaration> solvedSymbol = symbolSolver.solveSymbolInType(enumDeclaration, symbolName); in assertCanSolveSymbol()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/
DJavaParserAPIIntegrationTest.java114 EnumDeclaration enumDeclaration = (EnumDeclaration) cu.getType(0); in enumConstantDeclarationResolve() local
115 assertEquals("AccessSpecifier", enumDeclaration.getNameAsString()); in enumConstantDeclarationResolve()
116 EnumConstantDeclaration declaration = enumDeclaration.getEntry(0); in enumConstantDeclarationResolve()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java65 …ResolvedEnumDeclaration enumDeclaration = node.findParent(EnumDeclaration.class).get().resolve().a… in resolveDeclaration() local
66 …ResolvedEnumConstantDeclaration resolved = enumDeclaration.getEnumConstants().stream().filter(c ->… in resolveDeclaration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javasymbolsolver_0_6_0/expected_output/java-symbol-solver-core/
Dcom_github_javaparser_symbolsolver_javaparsermodel_declarations_JavaParserEnumDeclaration.txt64 …Line 316) Helper.toAccessLevel(enumDeclaration.getWrappedNode().getModifiers()) ==> com.github.jav…
65 …Line 316) enumDeclaration.getWrappedNode().getModifiers() ==> com.github.javaparser.ast.body.TypeD…
66 …Line 316) enumDeclaration.getWrappedNode() ==> com.github.javaparser.symbolsolver.javaparsermodel.…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java415 …EnumDeclaration enumDeclaration = new EnumDeclaration(Arrays.stream(modifiers).collect(Collectors.… in addEnum() local
416 getTypes().add(enumDeclaration); in addEnum()
417 return enumDeclaration; in addEnum()
/external/skia/src/sksl/
DSkSLParser.h174 std::unique_ptr<ASTDeclaration> enumDeclaration();
DSkSLParser.cpp343 std::unique_ptr<ASTDeclaration> Parser::enumDeclaration() { in enumDeclaration() function in SkSL::Parser
406 return this->enumDeclaration(); in declaration()
/external/skqp/src/sksl/
DSkSLParser.h174 std::unique_ptr<ASTDeclaration> enumDeclaration();
DSkSLParser.cpp342 std::unique_ptr<ASTDeclaration> Parser::enumDeclaration() { in enumDeclaration() function in SkSL::Parser
405 return this->enumDeclaration(); in declaration()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java543 …JavaParserEnumDeclaration enumDeclaration = new JavaParserEnumDeclaration((EnumDeclaration) node, … in getTypeOfThisIn() local
544 return new ReferenceTypeImpl(enumDeclaration, typeSolver); in getTypeOfThisIn()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/javaparser_methodcalls_expected_output/
Dcom_github_javaparser_ast_CompilationUnit.txt63 Line 336) getTypes().add(enumDeclaration) ==> java.util.List.add(E)
65 …Line 337) enumDeclaration.setParentNode(this) ==> com.github.javaparser.ast.Node.setParentNode(com…
/external/turbine/java/com/google/turbine/parse/
DParser.java173 decls.add(enumDeclaration(access, annos.build())); in compilationUnit()
266 private TyDecl enumDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) { in enumDeclaration() method in Parser
625 acc.add(enumDeclaration(access, annos.build())); in classMembers()
/external/doclava/src/com/google/doclava/parser/
DJava.g374 | enumDeclaration
411 enumDeclaration
780 | enumDeclaration
DJavaParser.java1583 enumDeclaration(); in classDeclaration()
2032 public final void enumDeclaration() throws RecognitionException { in enumDeclaration() method in JavaParser
6799 enumDeclaration(); in annotationTypeElementDeclaration()
14579 enumDeclaration(); in synpred121_Java_fragment()