public abstract class AbstractBaseMethod extends AbstractInheritableJavaEntity
Constructor and Description |
---|
AbstractBaseMethod() |
Modifier and Type | Method and Description |
---|---|
JavaClass |
getDeclaringClass() |
List<JavaClass> |
getExceptions() |
List<JavaType> |
getExceptionTypes() |
JavaParameter |
getParameterByName(String name) |
List<JavaParameter> |
getParameters() |
List<JavaType> |
getParameterTypes() |
List<JavaType> |
getParameterTypes(boolean resolve) |
String |
getSourceCode() |
List<DocletTag> |
getTagsByName(String name,
boolean inherited) |
boolean |
isPublic()
Equivalent of
Modifier.isPublic(int) |
boolean |
isVarArgs() |
void |
setExceptions(List<JavaClass> exceptions) |
void |
setParameters(List<JavaParameter> javaParameters) |
void |
setSourceCode(String sourceCode) |
protected boolean |
signatureMatches(List<JavaType> parameterTypes,
boolean varArgs) |
getTagByName
getModifiers, getName, getParentClass, isAbstract, isFinal, isNative, isPrivate, isProtected, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, setModifiers, setName, setParentClass
getAnnotations, getComment, getNamedParameter, getTagByName, getTags, getTagsByName, setAnnotations, setComment, setTags
getLineNumber, getModelWriter, getSource, setLineNumber, setModelWriterFactory, setSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCodeBlock, getLineNumber, getSource
public List<JavaParameter> getParameters()
public JavaParameter getParameterByName(String name)
public boolean isVarArgs()
public JavaClass getDeclaringClass()
public void setParameters(List<JavaParameter> javaParameters)
public boolean isPublic()
AbstractJavaEntity
Modifier.isPublic(int)
isPublic
in class AbstractJavaEntity
true
if entity is public, otherwise false
public List<DocletTag> getTagsByName(String name, boolean inherited)
getTagsByName
in class AbstractInheritableJavaEntity
public String getSourceCode()
public void setSourceCode(String sourceCode)
Copyright © 2002–2016. All rights reserved.