public abstract class CallableDeclaration<T extends Node> extends BodyDeclaration<T>
Node.ObserverRegistrationModeABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration| Constructor and Description |
|---|
CallableDeclaration(Range range,
EnumSet<Modifier> modifiers,
NodeList<AnnotationExpr> annotations,
NodeList<TypeParameter> typeParameters,
SimpleName name,
NodeList<Parameter> parameters,
NodeList<ReferenceType<?>> thrownExceptions) |
getAnnotations, setAnnotationsaddOrphanComment, equals, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getRange, hasComment, hashCode, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeOrphanComment, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setRange, toString, toString, tryAddImportToParentCompilationUnit, unregisterfinalize, getClass, notify, notifyAll, wait, wait, waitaddAndGetAnnotation, addAndGetAnnotation, addAnnotation, addAnnotation, addAnnotation, addMarkerAnnotation, addMarkerAnnotation, addSingleMemberAnnotation, addSingleMemberAnnotation, getAnnotation, getAnnotationByClass, getAnnotationByName, isAnnotationPresent, isAnnotationPresent, setAnnotationgetAncestorOfType, setAsParentNodeOf, setAsParentNodeOfcontainsWithin, getBegin, getEnd, isPositionedAfter, isPositionedBeforepublic CallableDeclaration(Range range, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType<?>> thrownExceptions)
public EnumSet<Modifier> getModifiers()
Modifierpublic SimpleName getName()
public T setName(SimpleName name)
public NodeList<ReferenceType<?>> getThrownExceptions()
public T setThrownExceptions(NodeList<ReferenceType<?>> thrownExceptions)
public NodeList<TypeParameter> getTypeParameters()
public T setTypeParameters(NodeList<TypeParameter> typeParameters)
public String getDeclarationAsString(boolean includingModifiers, boolean includingThrows)
public String getDeclarationAsString()
public abstract String getDeclarationAsString(boolean includingModifiers, boolean includingThrows, boolean includingParameterName)
protected String appendThrowsIfRequested(boolean includingThrows)
public List<NodeList<?>> getNodeLists()
NodegetNodeLists in class BodyDeclaration<T extends Node>public boolean remove(Node node)
remove in class BodyDeclaration<T extends Node>public CallableDeclaration<?> clone()
clone in class BodyDeclaration<T extends Node>public CallableDeclarationMetaModel getMetaModel()
getMetaModel in class BodyDeclaration<T extends Node>Copyright © 2007–2017. All rights reserved.