Home
last modified time | relevance | path

Searched refs:methodOrConstructor (Results 1 – 2 of 2) sorted by relevance

/external/guice/core/src/com/google/inject/
DTypeLiteral.java264 public List<TypeLiteral<?>> getParameterTypes(Member methodOrConstructor) { in getParameterTypes() argument
267 if (methodOrConstructor instanceof Method) { in getParameterTypes()
268 Method method = (Method) methodOrConstructor; in getParameterTypes()
276 } else if (methodOrConstructor instanceof Constructor) { in getParameterTypes()
277 Constructor<?> constructor = (Constructor<?>) methodOrConstructor; in getParameterTypes()
286 throw new IllegalArgumentException("Not a method or a constructor: " + methodOrConstructor); in getParameterTypes()
298 public List<TypeLiteral<?>> getExceptionTypes(Member methodOrConstructor) { in getExceptionTypes() argument
301 if (methodOrConstructor instanceof Method) { in getExceptionTypes()
302 Method method = (Method) methodOrConstructor; in getExceptionTypes()
310 } else if (methodOrConstructor instanceof Constructor) { in getExceptionTypes()
[all …]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DDependencyRequestFormatter.java95 ExecutableElement methodOrConstructor = in format() local
98 types.asMemberOf(request.enclosingType(), methodOrConstructor)); in format()
99 appendEnclosingTypeAndMemberName(methodOrConstructor, builder).append('('); in format()
100 List<? extends VariableElement> parameters = methodOrConstructor.getParameters(); in format()