Searched refs:moduleDeclaration (Results 1 – 7 of 7) sorted by relevance
41 private final String moduleDeclaration; field in MultibindsValidationTest44 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 …]
44 private final String moduleDeclaration; field in BindsMethodValidationTest47 moduleDeclaration = "@" + moduleAnnotation.getCanonicalName() + " abstract class %s { %s }"; in BindsMethodValidationTest()145 return assertThatModuleMethod(method).withDeclaration(moduleDeclaration); in assertThatMethod()
48 private final String moduleDeclaration; field in BindsOptionalOfMethodValidationTest51 moduleDeclaration = "@" + moduleAnnotation.getCanonicalName() + " abstract class %s { %s }"; in BindsOptionalOfMethodValidationTest()179 return assertThatModuleMethod(method).withDeclaration(moduleDeclaration); in assertThatMethod()
188 ModuleDeclaration moduleDeclaration = new CompilationUnit() in fluentInterface() local196 moduleDeclaration.getDirectives() in fluentInterface()203 moduleDeclaration in fluentInterface()218 "}\n", moduleDeclaration.toString()); in fluentInterface()
442 public static ModuleDeclaration parseModuleDeclaration(String moduleDeclaration) { in parseModuleDeclaration() argument443 return handleResult(newParser().parseModuleDeclaration(moduleDeclaration)); in parseModuleDeclaration()
493 public ParseResult<ModuleDeclaration> parseModuleDeclaration(String moduleDeclaration) { in parseModuleDeclaration() argument494 return parse(MODULE_DECLARATION, provider(moduleDeclaration)); in parseModuleDeclaration()
200 mod = Optional.of(moduleDeclaration(open, annos.build())); in compilationUnit()309 private ModDecl moduleDeclaration(boolean open, ImmutableList<Anno> annos) { in moduleDeclaration() method in Parser