Searched refs:methodOrConstructor (Results 1 – 2 of 2) sorted by relevance
280 public List<TypeLiteral<?>> getParameterTypes(Member methodOrConstructor) { in getParameterTypes() argument283 if (methodOrConstructor instanceof Method) { in getParameterTypes()284 Method method = (Method) methodOrConstructor; in getParameterTypes()289 } else if (methodOrConstructor instanceof Constructor) { in getParameterTypes()290 Constructor<?> constructor = (Constructor<?>) methodOrConstructor; in getParameterTypes()296 throw new IllegalArgumentException("Not a method or a constructor: " + methodOrConstructor); in getParameterTypes()308 public List<TypeLiteral<?>> getExceptionTypes(Member methodOrConstructor) { in getExceptionTypes() argument311 if (methodOrConstructor instanceof Method) { in getExceptionTypes()312 Method method = (Method) methodOrConstructor; in getExceptionTypes()317 } else if (methodOrConstructor instanceof Constructor) { in getExceptionTypes()[all …]
95 ExecutableElement methodOrConstructor = in format() local98 types.asMemberOf(request.enclosingType(), methodOrConstructor)); in format()99 appendEnclosingTypeAndMemberName(methodOrConstructor, builder).append('('); in format()100 List<? extends VariableElement> parameters = methodOrConstructor.getParameters(); in format()