HomeSort by relevance Sort by last modified time
    Searched refs:MethodSpec (Results 1 - 12 of 12) sorted by null

  /external/javapoet/src/test/java/com/squareup/javapoet/
MethodSpecTest.java 69 MethodSpec.methodBuilder("doSomething").addAnnotations(null);
78 MethodSpec.methodBuilder("doSomething").addTypeVariables(null);
87 MethodSpec.methodBuilder("doSomething").addParameters(null);
96 MethodSpec.methodBuilder("doSomething").addExceptions(null);
152 MethodSpec method = MethodSpec.overriding(methodElement).build();
165 MethodSpec method = MethodSpec.overriding(methodElement)
178 MethodSpec method = MethodSpec.overriding(exec).build()
    [all...]
TypeSpecTest.java 61 .addMethod(MethodSpec.methodBuilder("toString")
127 .addMethod(MethodSpec.methodBuilder("doSomething")
136 .addMethod(MethodSpec.methodBuilder("call")
173 .addMethod(MethodSpec.constructorBuilder()
242 .addMethod(MethodSpec.methodBuilder("fooBar")
356 .addMethod(MethodSpec.methodBuilder("toString")
366 .addMethod(MethodSpec.constructorBuilder()
370 .addMethod(MethodSpec.constructorBuilder()
412 .addMethod(MethodSpec.methodBuilder("fold")
417 .addMethod(MethodSpec.methodBuilder("fold"
    [all...]
JavaFileTest.java 38 MethodSpec beyond = MethodSpec.methodBuilder("beyond")
78 MethodSpec method = MethodSpec.methodBuilder("method").build();
109 .addMethod(MethodSpec.constructorBuilder()
143 .addMethod(MethodSpec.methodBuilder("main")
235 MethodSpec method = MethodSpec.methodBuilder("minutesToSeconds")
595 .addMethod(MethodSpec.methodBuilder("main")
FileReadingTest.java 66 .addMethod(MethodSpec.methodBuilder("fooBar").build())
91 .addMethod(MethodSpec.methodBuilder("call")
AnnotatedTypeNameTest.java 192 MethodSpec varargsMethod = MethodSpec.methodBuilder("m")
207 MethodSpec varargsMethod = MethodSpec.methodBuilder("m")
FileWritingTest.java 173 .addMethod(MethodSpec.methodBuilder("main")
  /external/tensorflow/tensorflow/java/src/gen/java/org/tensorflow/processor/
OperatorProcessor.java 25 import com.squareup.javapoet.MethodSpec;
127 Multimap<String, MethodSpec> groupedMethods = HashMultimap.create();
178 private void writeApi(Multimap<String, MethodSpec> groupedMethods) {
182 for (Map.Entry<String, Collection<MethodSpec>> entry : groupedMethods.asMap().entrySet()) {
196 Multimap<String, MethodSpec> groupedMethods,
219 Multimap<String, MethodSpec> groupedMethods, TypeElement opClass, TypeElement annotation) {
233 MethodSpec method = buildOpMethod(methodName, opClassName, opMethod);
239 private MethodSpec buildOpMethod(
241 MethodSpec.Builder builder =
242 MethodSpec.methodBuilder(methodName
    [all...]
  /external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowMediaPlayerTest.java 445 testStates(new MethodSpec("attachAuxEffect", 37), EnumSet.of(IDLE, ERROR),
520 testStates(new MethodSpec("seekTo", 38),
526 testStates(new MethodSpec("setAudioSessionId", 40), EnumSet.of(INITIALIZED,
540 testStates(new MethodSpec("setAudioStreamType", AudioManager.STREAM_MUSIC),
547 testStates(new MethodSpec("setLooping", true), EnumSet.of(ERROR),
553 testStates(new MethodSpec("setVolume", new Class<?>[] { float.class,
563 testStates(new MethodSpec("setDataSource", DUMMY_SOURCE), invalidStates, iseTester, INITIALIZED);
601 testStates(new MethodSpec(methodName), invalidStates, iseTester, nextState);
604 public class MethodSpec {
610 public MethodSpec(String method)
    [all...]
  /external/javapoet/src/main/java/com/squareup/javapoet/
MethodSpec.java 43 public final class MethodSpec {
58 private MethodSpec(Builder builder) {
205 MethodSpec.Builder methodBuilder = MethodSpec.methodBuilder(methodName);
489 public MethodSpec build() {
490 return new MethodSpec(this);
TypeSpec.java 54 public final List<MethodSpec> methodSpecs;
295 for (MethodSpec methodSpec : methodSpecs) {
296 if (!methodSpec.isConstructor()) continue;
298 methodSpec.emit(codeWriter, name, kind.implicitMethodModifiers);
303 for (MethodSpec methodSpec : methodSpecs) {
304 if (methodSpec.isConstructor()) continue;
306 methodSpec.emit(codeWriter, name, kind.implicitMethodModifiers);
407 private final List<MethodSpec> methodSpecs = new ArrayList<>()
    [all...]
CodeBlock.java 48 * MethodSpec methods}, and {@linkplain TypeSpec types}.
342 if (o instanceof MethodSpec) return ((MethodSpec) o).name;
  /external/dagger2/lib/
auto-value-1.4.1.jar 

Completed in 739 milliseconds