public class NewWrapper extends New
ProgramElement.TreeStructure
SourceElement.Position
Modifier and Type | Field and Description |
---|---|
private Identifier |
scope |
private static long |
serialVersionUID |
accessPath, anonymousClass, referenceParent, statementParent
typeReference
children, expressionParent, INFIX, POSTFIX, PREFIX
comments
factory
STRUCTURAL_EQUALITY, STRUCTURAL_HASH_CODE
Constructor and Description |
---|
NewWrapper(New proto,
Identifier scope) |
Modifier and Type | Method and Description |
---|---|
NewWrapper |
deepClone() |
Identifier |
getScope() |
accept, getArguments, getArity, getASTParent, getChildAt, getChildCount, getChildPositionCode, getClassDeclaration, getExpressionContainer, getFirstElement, getLastElement, getNotation, getPrecedence, getReferencePrefix, getReferenceSuffix, getStatementContainer, getTypeDeclarationAt, getTypeDeclarationCount, makeParentRoleValid, replaceChild, setArguments, setClassDeclaration, setExpressionContainer, setReferencePrefix, setReferenceSuffix, setStatementContainer
getTypeReference, getTypeReferenceAt, getTypeReferenceCount, setTypeReference
getExpressionAt, getExpressionCount, isLeftAssociative, isToBeParenthesized, precedes
getIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAll
getComments, setComments, validate
getEndPosition, getFactory, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getExpressionAt, getExpressionCount
getIndexOfChild, getIndexOfChild, getRoleOfChild, makeAllParentRolesValid, validateAll
getComments, setComments
getEndPosition, getFactory, getRelativePosition, getStartPosition, setEndPosition, setRelativePosition, setStartPosition, toSource
validate
private static final long serialVersionUID
private Identifier scope
public NewWrapper(New proto, Identifier scope)
public NewWrapper deepClone()
deepClone
in interface Expression
deepClone
in interface ExpressionStatement
deepClone
in interface SourceElement
deepClone
in interface Statement
deepClone
in class New
public Identifier getScope()