public interface JavaExecutable extends JavaAnnotatedElement, JavaGenericDeclaration, JavaMember
Executable| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCallSignature() |
JavaClass |
getDeclaringClass()
Equivalent of
Member.getDeclaringClass() |
java.util.List<JavaClass> |
getExceptions()
Equivalent of
Executable.getExceptionTypes() |
java.util.List<JavaType> |
getExceptionTypes() |
JavaParameter |
getParameterByName(java.lang.String name) |
java.util.List<JavaParameter> |
getParameters()
Equivalent of
Executable.getParameterTypes(), where a JavaParameter also contains the original name if available. |
java.util.List<JavaType> |
getParameterTypes()
Equivalent of
Executable.getParameterTypes() |
java.util.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
|
java.lang.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 JavaMemberjava.util.List<JavaClass> getExceptions()
Executable.getExceptionTypes()nulljava.util.List<JavaType> getExceptionTypes()
JavaParameter getParameterByName(java.lang.String name)
name - the name of the parameterJavaParameter matching the name, otherwise nulljava.util.List<JavaParameter> getParameters()
Executable.getParameterTypes(), where a JavaParameter also contains the original name if available.nulljava.util.List<JavaType> getParameterTypes()
Executable.getParameterTypes()nulljava.util.List<JavaType> getParameterTypes(boolean resolve)
resolve - true if the resolved types should be returned, otherwise falsejava.lang.String getSourceCode()
boolean isVarArgs()
Executable.isVarArgs()true if the final parameter is a varArg, otherwise falsejava.lang.String getCallSignature()
Copyright © 2002-2018. All Rights Reserved.