public class ImplicitFieldSpecification extends FieldSpecification
dimensions, initializer, type, var
Constructor and Description |
---|
ImplicitFieldSpecification()
Implicit Field specification.
|
ImplicitFieldSpecification(ProgramVariable var)
Implicit Field specification.
|
ImplicitFieldSpecification(ProgramVariable var,
Type type)
Implicit Field specification.
|
Modifier and Type | Method and Description |
---|---|
void |
visit(Visitor v)
calls the corresponding method of a visitor in order to
perform some action/transformation on this element
|
getProgramName, isPrivate, isProtected, isPublic, isStatic, isStrictFp, isTransient, isVolatile
computeHashCode, equals, equalsModRenaming, getChildAt, getChildCount, getDimensions, getExpressionAt, getExpressionCount, getFirstElement, getFullName, getInitializer, getLastElement, getName, getProgramElementName, getProgramVariable, getType, hasInitializer, isFinal, match, prettyPrint
compatibleBlockSize, getArrayPos, matchChildren
getComments, hashCode, prettyPrintMain, reuseSignature
getEndPosition, getFirstElementIncludingBlocks, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getProgramVariable
getFullName
getName
getComments
getEndPosition, getFirstElementIncludingBlocks, getPositionInfo, getRelativePosition, getStartPosition
public ImplicitFieldSpecification()
public ImplicitFieldSpecification(ProgramVariable var)
var
- the ProgramVariable representing this concrete fieldpublic ImplicitFieldSpecification(ProgramVariable var, Type type)
var
- the ProgramVariable representing this concrete fieldtype
- the Type of this fieldpublic void visit(Visitor v)
visit
in interface SourceElement
visit
in class FieldSpecification
v
- the Visitor