public interface JavaExecutable extends JavaAnnotatedElement, JavaGenericDeclaration, JavaMember
Executable| Modifier and Type | Method and Description |
|---|---|
String |
getCallSignature() |
JavaClass |
getDeclaringClass()
Equivalent of
Member.getDeclaringClass() |
List<JavaClass> |
getExceptions()
Equivalent of
Executable.getExceptionTypes() |
List<JavaType> |
getExceptionTypes() |
JavaParameter |
getParameterByName(String name) |
List<JavaParameter> |
getParameters()
Equivalent of
Executable.getParameterTypes(), where a JavaParameter also contains the original name if available. |
List<JavaType> |
getParameterTypes()
Equivalent of
Executable.getParameterTypes() |
List<JavaType> |
getParameterTypes(boolean resolve)
If a class inherits this method from a generic class or interface, you can use this method to get the resolved parameter types
|
String |
getSourceCode()
Get the original source code of the body of this method.
|
boolean |
isVarArgs()
Equivalent of
Executable.isVarArgs() |
getAnnotations, getComment, getNamedParameter, getTagByName, getTags, getTagsByNamegetCodeBlock, getLineNumbergetTypeParametersgetModifiers, getName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatileJavaClass getDeclaringClass()
JavaMemberMember.getDeclaringClass()getDeclaringClass in interface JavaMemberList<JavaClass> getExceptions()
Executable.getExceptionTypes()nullJavaParameter getParameterByName(String name)
name - the name of the parameterJavaParameter matching the name, otherwise nullList<JavaParameter> getParameters()
Executable.getParameterTypes(), where a JavaParameter also contains the original name if available.nullList<JavaType> getParameterTypes()
Executable.getParameterTypes()nullList<JavaType> getParameterTypes(boolean resolve)
resolve - true if the resolved types should be returned, otherwise falseString getSourceCode()
boolean isVarArgs()
Executable.isVarArgs()true if the final parameter is a varArg, otherwise falseString getCallSignature()
Copyright © 2002–2025. All rights reserved.