Home
last modified time | relevance | path

Searched refs:moduleDeclaration (Results 1 – 7 of 7) sorted by relevance

/external/dagger2/javatests/dagger/internal/codegen/
DMultibindsValidationTest.java41 private final String moduleDeclaration; field in MultibindsValidationTest
44 moduleDeclaration = "@" + moduleAnnotation.getCanonicalName() + " abstract class %s { %s }"; in MultibindsValidationTest()
56 .withDeclaration(moduleDeclaration) in voidMethod()
63 .withDeclaration(moduleDeclaration) in primitiveMethod()
70 .withDeclaration(moduleDeclaration) in rawMap()
77 .withDeclaration(moduleDeclaration) in wildcardMap()
84 .withDeclaration(moduleDeclaration) in providerMap()
91 .withDeclaration(moduleDeclaration) in producerMap()
98 .withDeclaration(moduleDeclaration) in producedMap()
105 .withDeclaration(moduleDeclaration) in rawSet()
[all …]
DBindsMethodValidationTest.java44 private final String moduleDeclaration; field in BindsMethodValidationTest
47 moduleDeclaration = "@" + moduleAnnotation.getCanonicalName() + " abstract class %s { %s }"; in BindsMethodValidationTest()
145 return assertThatModuleMethod(method).withDeclaration(moduleDeclaration); in assertThatMethod()
DBindsOptionalOfMethodValidationTest.java48 private final String moduleDeclaration; field in BindsOptionalOfMethodValidationTest
51 moduleDeclaration = "@" + moduleAnnotation.getCanonicalName() + " abstract class %s { %s }"; in BindsOptionalOfMethodValidationTest()
179 return assertThatModuleMethod(method).withDeclaration(moduleDeclaration); in assertThatMethod()
/external/javaparser/javaparser-core-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java188 ModuleDeclaration moduleDeclaration = new CompilationUnit() in fluentInterface() local
196 moduleDeclaration.getDirectives() in fluentInterface()
203 moduleDeclaration in fluentInterface()
218 "}\n", moduleDeclaration.toString()); in fluentInterface()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/
DStaticJavaParser.java442 public static ModuleDeclaration parseModuleDeclaration(String moduleDeclaration) { in parseModuleDeclaration() argument
443 return handleResult(newParser().parseModuleDeclaration(moduleDeclaration)); in parseModuleDeclaration()
DJavaParser.java493 public ParseResult<ModuleDeclaration> parseModuleDeclaration(String moduleDeclaration) { in parseModuleDeclaration() argument
494 return parse(MODULE_DECLARATION, provider(moduleDeclaration)); in parseModuleDeclaration()
/external/turbine/java/com/google/turbine/parse/
DParser.java200 mod = Optional.of(moduleDeclaration(open, annos.build())); in compilationUnit()
309 private ModDecl moduleDeclaration(boolean open, ImmutableList<Anno> annos) { in moduleDeclaration() method in Parser