Home
last modified time | relevance | path

Searched refs:methodOrConstructor (Results 1 – 3 of 3) 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/java/dagger/internal/codegen/base/
DElementFormatter.java71 ExecutableElement methodOrConstructor = asExecutable(parameter.getEnclosingElement());
72 return enclosingTypeAndMemberName(methodOrConstructor)
76 methodOrConstructor.getParameters().indexOf(parameter),
77 methodOrConstructor.getParameters().size(),
/external/auto/common/src/main/java/com/google/auto/common/
DMoreTypes.java918 ExecutableElement methodOrConstructor = in asMemberOf() local
921 MoreTypes.asExecutable(types.asMemberOf(container, methodOrConstructor)); in asMemberOf()
922 List<? extends VariableElement> parameters = methodOrConstructor.getParameters(); in asMemberOf()