Home
last modified time | relevance | path

Searched refs:enumConstant (Results 1 – 13 of 13) sorted by relevance

/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/reflectionmodel/
DReflectionEnumConstantDeclaration.java13 private Field enumConstant; field in ReflectionEnumConstantDeclaration
16 public ReflectionEnumConstantDeclaration(Field enumConstant, TypeSolver typeSolver) { in ReflectionEnumConstantDeclaration() argument
17 if (!enumConstant.isEnumConstant()) { in ReflectionEnumConstantDeclaration()
20 this.enumConstant = enumConstant; in ReflectionEnumConstantDeclaration()
26 return enumConstant.getName(); in getName()
31 Class<?> enumClass = enumConstant.getDeclaringClass(); in getType()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/
DEnumDeclaration.java108 EnumConstantDeclaration enumConstant = new EnumConstantDeclaration(name); in addEnumConstant() local
109 getEntries().add(enumConstant); in addEnumConstant()
110 enumConstant.setParentNode(this); in addEnumConstant()
111 return enumConstant; in addEnumConstant()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/
DFieldAccessContext.java99 …Optional<ResolvedEnumConstantDeclaration> enumConstant = rrtd.asEnum().getEnumConstants().stream()… in solveField() local
100 if (enumConstant.isPresent()) { in solveField()
101 return SymbolReference.solved(enumConstant.get()); in solveField()
/external/dagger2/java/dagger/internal/codegen/base/
DMapKeyAccessibility.java56 public Boolean visitEnumConstant(VariableElement enumConstant, Void aVoid) { in visitEnumConstant() argument
57 return accessibilityChecker.test(enumConstant.getEnclosingElement().asType()); in visitEnumConstant()
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
DParameter.java124 for (Object enumConstant : type.getEnumConstants()) { in findDefaults()
125 builder.add(enumConstant.toString()); in findDefaults()
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/expected_output/
Dcom_github_javaparser_ast_body_EnumDeclaration.txt11 Line 109) getEntries().add(enumConstant) ==> java.util.List.add(E)
13 …Line 110) enumConstant.setParentNode(this) ==> com.github.javaparser.ast.Node.setParentNode(com.gi…
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/
DEnumDeclaration.java148 EnumConstantDeclaration enumConstant = new EnumConstantDeclaration(name); in addEnumConstant() local
149 getEntries().add(enumConstant); in addEnumConstant()
150 return enumConstant; in addEnumConstant()
/external/auto/common/src/main/java/com/google/auto/common/
DSuperficialValidation.java233 public Boolean visitEnumConstant(VariableElement enumConstant, TypeMirror expectedType) {
234 return MoreTypes.equivalence().equivalent(enumConstant.asType(), expectedType)
235 && validateElement(enumConstant);
/external/icu/tools/srcgen/
Dcore-platform-api.txt3 enumConstant:android.icu.util.Region$RegionType#TERRITORY
/external/javapoet/src/main/java/com/squareup/javapoet/
DTypeSpec.java268 Map.Entry<String, TypeSpec> enumConstant = i.next(); in emit() local
270 enumConstant.getValue().emit(codeWriter, enumConstant.getKey(), Collections.emptySet()); in emit()
781 for (Map.Entry<String, TypeSpec> enumConstant : enumConstants.entrySet()) { in build()
783 checkArgument(enumConstant.getValue().anonymousTypeArguments != null, in build()
/external/google-java-format/core/src/main/java/com/google/googlejavaformat/java/
DJavaInputAstVisitor.java781 private void visitEnumConstantDeclaration(VariableTree enumConstant) { in visitEnumConstantDeclaration() argument
782 for (AnnotationTree annotation : enumConstant.getModifiers().getAnnotations()) { in visitEnumConstantDeclaration()
786 visit(enumConstant.getName()); in visitEnumConstantDeclaration()
787 NewClassTree init = ((NewClassTree) enumConstant.getInitializer()); in visitEnumConstantDeclaration()
872 for (VariableTree enumConstant : enumConstants) { in visitEnumDeclaration()
879 visitEnumConstantDeclaration(enumConstant); in visitEnumDeclaration()
/external/doclava/src/com/google/doclava/parser/
DJava.g433 : enumConstant
434 (',' enumConstant
442 enumConstant
DJavaParser.java2285 enumConstant(); in enumConstants()
2323 enumConstant(); in enumConstants()
2364 public final void enumConstant() throws RecognitionException { in enumConstant() method in JavaParser