Home
last modified time | relevance | path

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

12

/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/javaparser/contexts/
DEnumDeclarationContextResolutionTest.java52 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolReferringToDeclaredInstanceField() local
53 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolReferringToDeclaredInstanceField()
63 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolReferringToDeclaredStaticField() local
64 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolReferringToDeclaredStaticField()
74 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolReferringToValue() local
75 Context context = new EnumDeclarationContext(enumDeclaration, new MemoryTypeSolver()); in solveSymbolReferringToValue()
85 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolAsValueReferringToDeclaredInstanceField() local
86 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolAsValueReferringToDeclaredInstanceField()
96 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "MyEnum"… in solveSymbolAsValueReferringToDeclaredStaticField() local
97 Context context = new EnumDeclarationContext(enumDeclaration, typeSolver); in solveSymbolAsValueReferringToDeclaredStaticField()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/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 ArrayType(new ReferenceTypeImpl(enumDeclaration, typeSolver)); in getReturnType()
316 return Helper.toAccessLevel(enumDeclaration.getWrappedNode().getModifiers()); in accessLevel()
DJavaParserFieldDeclaration.java68 …com.github.javaparser.ast.body.EnumDeclaration enumDeclaration = (com.github.javaparser.ast.body.E… in getType() local
69 …return new ReferenceTypeImpl(new JavaParserEnumDeclaration(enumDeclaration, typeSolver), typeSolve… in getType()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/declarations/
DJavaParserEnumDeclaration.java306 private JavaParserEnumDeclaration enumDeclaration; field in JavaParserEnumDeclaration.ValuesMethod
309 public ValuesMethod(JavaParserEnumDeclaration enumDeclaration, TypeSolver typeSolver) { in ValuesMethod() argument
310 this.enumDeclaration = enumDeclaration; in ValuesMethod()
316 return enumDeclaration; in declaringType()
321 return new ResolvedArrayType(new ReferenceTypeImpl(enumDeclaration, typeSolver)); in getReturnType()
369 return enumDeclaration.getWrappedNode().getAccessSpecifier(); in accessSpecifier()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/ast/visitor/
DCloneVisitorTest.java70 EnumDeclaration enumDeclaration = new EnumDeclaration(); in cloneJavaDocTest() local
71 enumDeclaration.setName("enumDeclarationTest"); in cloneJavaDocTest()
72 typeDeclarationList.add(enumDeclaration.setJavadocComment("javadoc")); in cloneJavaDocTest()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DFieldAccessContext.java80 …ResolvedEnumDeclaration enumDeclaration = (ResolvedEnumDeclaration)typeOfScope.asReferenceType().g… in solveSymbolAsValue() local
81 if (enumDeclaration.hasEnumConstant(name)) { in solveSymbolAsValue()
82 … return Optional.of(new Value(enumDeclaration.getEnumConstant(name).getType(), name)); in solveSymbolAsValue()
/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()
DConstructorsResolutionTest.java114 EnumDeclaration enumDeclaration = Navigator.demandEnum(cu, "ConstructorCallsEnum"); in solveEnumConstructor() local
115 …ConstructorDeclaration constructor = (ConstructorDeclaration) enumDeclaration.getChildNodes().get(… in solveEnumConstructor()
/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-testing/src/test/test_sourcecode/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-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/
DJavaSymbolSolver.java84 …ResolvedEnumDeclaration enumDeclaration = node.findAncestor(EnumDeclaration.class).get().resolve()… in resolveDeclaration() local
85 …ResolvedEnumConstantDeclaration resolved = enumDeclaration.getEnumConstants().stream().filter(c ->… in resolveDeclaration()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java412 EnumDeclaration enumDeclaration = new EnumDeclaration(createModifierList(modifiers), name); in addEnum() local
413 getTypes().add(enumDeclaration); in addEnum()
414 return enumDeclaration; in addEnum()
/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/skia/src/sksl/
DSkSLParser.h160 ASTNode::ID enumDeclaration();
DSkSLParser.cpp382 ASTNode::ID Parser::enumDeclaration() { in enumDeclaration() function in SkSL::Parser
449 return this->enumDeclaration(); in declaration()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javasymbolsolver_0_6_0/src/java-symbol-solver-core/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java521 …JavaParserEnumDeclaration enumDeclaration = new JavaParserEnumDeclaration((EnumDeclaration) node, … in getTypeOfThisIn() local
522 return new ReferenceTypeImpl(enumDeclaration, typeSolver); in getTypeOfThisIn()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/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/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DJavaParserFacade.java614 …JavaParserEnumDeclaration enumDeclaration = new JavaParserEnumDeclaration((EnumDeclaration) node, … in getTypeOfThisIn() local
615 return new ReferenceTypeImpl(enumDeclaration, typeSolver); in getTypeOfThisIn()
/external/turbine/java/com/google/turbine/parse/
DParser.java175 decls.add(enumDeclaration(access, annos.build())); in compilationUnit()
272 private TyDecl enumDeclaration(EnumSet<TurbineModifier> access, ImmutableList<Anno> annos) { in enumDeclaration() method in Parser
638 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()
/external/javaparser/javaparser-symbol-solver-testing/src/test/resources/
Djavaparser-core-3.0.0-alpha.2.jarMETA-INF/MANIFEST.MF META-INF/ com/ com/github/ com/ ...
/external/guice/extensions/struts2/lib/
Dcore-3.1.1.jarMETA-INF/ org/ org/eclipse/ org/eclipse/jdt/ org/eclipse ...

12