Searched refs:addEnumConstant (Results 1 – 10 of 10) sorted by relevance
/external/javapoet/src/test/java/com/squareup/javapoet/ |
D | TypeSpecTest.java | 352 .addEnumConstant("ROCK", TypeSpec.anonymousClassBuilder("") in enumWithSubclassing() 355 .addEnumConstant("PAPER", TypeSpec.anonymousClassBuilder("$S", "flat") in enumWithSubclassing() 363 .addEnumConstant("SCISSORS", TypeSpec.anonymousClassBuilder("$S", "peace sign") in enumWithSubclassing() 411 .addEnumConstant("CORN", TypeSpec.anonymousClassBuilder("") in enumsMayDefineAbstractMethods() 449 .addEnumConstant("ROCK") in onlyEnumsMayHaveEnumConstants() 458 .addEnumConstant("SPOCK", TypeSpec.anonymousClassBuilder("") in enumWithMembersButNoConstructorCall() 487 .addEnumConstant("ROCK", TypeSpec.anonymousClassBuilder("") in enumWithAnnotatedValues() 490 .addEnumConstant("PAPER") in enumWithAnnotatedValues() 491 .addEnumConstant("SCISSORS") in enumWithAnnotatedValues() 671 .addEnumConstant("LEAN_GROUND_BEEF") in enumImplements() [all …]
|
/external/javaparser/javaparser-core-generators/src/main/java/com/github/javaparser/generator/core/node/ |
D | PropertyGenerator.java | 108 …EnumConstantDeclaration enumConstantDeclaration = observablePropertyEnum.addEnumConstant(constantN… in generateObservableProperty() 142 observablePropertyEnum.addEnumConstant("RANGE"); in after() 143 observablePropertyEnum.addEnumConstant("COMMENTED_NODE"); in after()
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/builders/ |
D | EnumDeclarationBuildersTest.java | 52 testEnum.addEnumConstant("MY_ENUM_CONSTANT"); in testAddEnumConstant()
|
/external/javapoet/ |
D | README.md | 603 Use `enumBuilder` to create the enum type, and `addEnumConstant()` for each value: 608 .addEnumConstant("ROCK") 609 .addEnumConstant("SCISSORS") 610 .addEnumConstant("PAPER") 632 .addEnumConstant("ROCK", TypeSpec.anonymousClassBuilder("$S", "fist") 640 .addEnumConstant("SCISSORS", TypeSpec.anonymousClassBuilder("$S", "peace") 642 .addEnumConstant("PAPER", TypeSpec.anonymousClassBuilder("$S", "flat")
|
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-core/com/github/javaparser/ast/body/ |
D | EnumDeclaration.java | 107 public EnumConstantDeclaration addEnumConstant(String name) { in addEnumConstant() method in EnumDeclaration
|
/external/javapoet/src/main/java/com/squareup/javapoet/ |
D | TypeSpec.java | 506 public Builder addEnumConstant(String name) { in addEnumConstant() method in TypeSpec.Builder 507 return addEnumConstant(name, anonymousClassBuilder("").build()); in addEnumConstant() 510 public Builder addEnumConstant(String name, TypeSpec typeSpec) { in addEnumConstant() method in TypeSpec.Builder
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
D | EnumDeclaration.java | 147 public EnumConstantDeclaration addEnumConstant(String name) { in addEnumConstant() method in EnumDeclaration
|
/external/doclava/src/com/google/doclava/apicheck/ |
D | ApiFile.java | 452 cl.addEnumConstant(field); in parseField()
|
/external/doclava/src/com/google/doclava/ |
D | InfoBuilder.java | 1235 containingClass.addEnumConstant(buildEnumConstant(tmp, containingClass)); in buildEnumBody()
|
D | ClassInfo.java | 2077 public void addEnumConstant(FieldInfo field) { in addEnumConstant() method in ClassInfo
|