public final class Resource extends Node
Constructor and Description |
---|
Resource() |
Resource(int beginLine,
int beginColumn,
int endLine,
int endColumn,
int modifiers,
List<AnnotationExpr> annotations,
Type type,
VariableDeclaratorId id,
Expression expression) |
Resource(int modifiers,
Type type,
VariableDeclaratorId id,
Expression expression) |
Resource(Type type,
VariableDeclaratorId id) |
Modifier and Type | Method and Description |
---|---|
<R,A> R |
accept(GenericVisitor<R,A> v,
A arg)
Accept method for visitor support.
|
<A> void |
accept(VoidVisitor<A> v,
A arg)
Accept method for visitor support.
|
List<AnnotationExpr> |
getAnnotations() |
Expression |
getExpression() |
VariableDeclaratorId |
getId() |
int |
getModifiers()
Return the modifiers of this parameter declaration.
|
Type |
getType() |
void |
setAnnotations(List<AnnotationExpr> annotations) |
void |
setExpression(Expression expression) |
void |
setId(VariableDeclaratorId id) |
void |
setModifiers(int modifiers) |
void |
setType(Type type) |
equals, getBeginColumn, getBeginComments, getBeginIndex, getBeginLine, getData, getEndColumn, getEndComments, getEndIndex, getEndLine, getInternalComments, hashCode, setBeginColumn, setBeginComments, setBeginIndex, setBeginLine, setData, setEndColumn, setEndComments, setEndIndex, setEndLine, setInternalComments, toString
public Resource()
public Resource(Type type, VariableDeclaratorId id)
public Resource(int modifiers, Type type, VariableDeclaratorId id, Expression expression)
public Resource(int beginLine, int beginColumn, int endLine, int endColumn, int modifiers, List<AnnotationExpr> annotations, Type type, VariableDeclaratorId id, Expression expression)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Node
public <A> void accept(VoidVisitor<A> v, A arg)
Node
public List<AnnotationExpr> getAnnotations()
public VariableDeclaratorId getId()
public int getModifiers()
ModifierSet
public Type getType()
public Expression getExpression()
public void setAnnotations(List<AnnotationExpr> annotations)
public void setId(VariableDeclaratorId id)
public void setModifiers(int modifiers)
public void setType(Type type)
public void setExpression(Expression expression)
Copyright © 2013. All Rights Reserved.