Searched refs:methodOrConstructor (Results 1 – 3 of 3) sorted by relevance
264 public List<TypeLiteral<?>> getParameterTypes(Member methodOrConstructor) { in getParameterTypes() argument267 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() argument301 if (methodOrConstructor instanceof Method) { in getExceptionTypes()302 Method method = (Method) methodOrConstructor; in getExceptionTypes()310 } else if (methodOrConstructor instanceof Constructor) { in getExceptionTypes()[all …]
71 ExecutableElement methodOrConstructor = asExecutable(parameter.getEnclosingElement());72 return enclosingTypeAndMemberName(methodOrConstructor)76 methodOrConstructor.getParameters().indexOf(parameter),77 methodOrConstructor.getParameters().size(),
918 ExecutableElement methodOrConstructor = in asMemberOf() local921 MoreTypes.asExecutable(types.asMemberOf(container, methodOrConstructor)); in asMemberOf()922 List<? extends VariableElement> parameters = methodOrConstructor.getParameters(); in asMemberOf()