public class SchematicFieldReference extends FieldReference implements MemberReference, ReferenceSuffix, TypeReferenceContainer, ExpressionContainer
| Modifier and Type | Field and Description | 
|---|---|
protected SchemaVariable | 
schemaVariable
Reference suffix 
 | 
prefixvariable| Constructor and Description | 
|---|
SchematicFieldReference(ExtList children,
                       ReferencePrefix prefix)  | 
SchematicFieldReference(SchemaVariable pe,
                       ReferencePrefix prefix)  | 
| Modifier and Type | Method and Description | 
|---|---|
ProgramElement | 
getChildAt(int index)
Returns the child at the specified index in this node's "virtual"
      child array 
 | 
int | 
getChildCount()
Returns the number of children of this node. 
 | 
Expression | 
getExpressionAt(int index)
Return the expression at the specified index in this node's
  "virtual" expression array. 
 | 
int | 
getExpressionCount()
Get the number of expressions in this container. 
 | 
SourceElement | 
getFirstElement()
Finds the source element that occurs first in the source. 
 | 
SourceElement | 
getFirstElementIncludingBlocks()
Finds the source element that occurs first in the source. 
 | 
ProgramElementName | 
getProgramElementName()
Get identifier. 
 | 
ReferencePrefix | 
getReferencePrefix()
Get reference prefix. 
 | 
ReferenceSuffix | 
getReferenceSuffix()
Get reference prefix. 
 | 
TypeReference | 
getTypeReferenceAt(int index)
Return the type reference at the specified index in this node's
 "virtual" type reference array. 
 | 
int | 
getTypeReferenceCount()
Get the number of type references in this container. 
 | 
MatchConditions | 
match(SourceData source,
     MatchConditions matchCond)
matches the source "text" (@link SourceData#getSource()) against the pattern represented 
 by this object. 
 | 
void | 
prettyPrint(PrettyPrinter p)
pretty print 
 | 
ReferencePrefix | 
setReferencePrefix(ReferencePrefix rp)
Set reference prefix. 
 | 
void | 
visit(Visitor v)
calls the corresponding method of a visitor in order to
 perform some action/transformation on this element 
 | 
isSingleDeref, referencesOwnInstanceFieldgetIdentifier, getKeYJavaType, getKeYJavaType, getKeYJavaType, getName, getProgramVariablecompatibleBlockSize, computeHashCode, equals, equalsModRenaming, getArrayPos, matchChildrengetComments, hashCode, prettyPrintMain, reuseSignaturegetEndPosition, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCommentsequalsModRenaming, getEndPosition, getLastElement, getPositionInfo, getRelativePosition, getStartPositionprotected final SchemaVariable schemaVariable
public SchematicFieldReference(SchemaVariable pe, ReferencePrefix prefix)
public SchematicFieldReference(ExtList children, ReferencePrefix prefix)
public int getChildCount()
getChildCount in interface NonTerminalProgramElementgetChildCount in class FieldReferencepublic ProgramElement getChildAt(int index)
getChildAt in interface NonTerminalProgramElementgetChildAt in class FieldReferenceindex - an index into this node's "virtual" child arrayjava.lang.ArrayIndexOutOfBoundsException - if index is out
                 of boundspublic ReferencePrefix getReferencePrefix()
getReferencePrefix in interface ReferencePrefixgetReferencePrefix in class FieldReferencepublic ReferenceSuffix getReferenceSuffix()
public ReferencePrefix setReferencePrefix(ReferencePrefix rp)
setReferencePrefix in class FieldReferencepublic int getTypeReferenceCount()
getTypeReferenceCount in interface TypeReferenceContainergetTypeReferenceCount in class FieldReferencepublic TypeReference getTypeReferenceAt(int index)
getTypeReferenceAt in interface TypeReferenceContainergetTypeReferenceAt in class FieldReferenceindex - an index for a type reference.java.lang.ArrayIndexOutOfBoundsException - if index is out
   of bounds.public int getExpressionCount()
getExpressionCount in interface ExpressionContainergetExpressionCount in class FieldReferencepublic Expression getExpressionAt(int index)
getExpressionAt in interface ExpressionContainergetExpressionAt in class FieldReferenceindex - an index for an expression.java.lang.ArrayIndexOutOfBoundsException - if index is out
   of bounds.public SourceElement getFirstElement()
JavaSourceElementgetFirstElement in interface SourceElementgetFirstElement in class FieldReferenceJavaSourceElement.toSource(), 
JavaSourceElement.getStartPosition()public SourceElement getFirstElementIncludingBlocks()
SourceElementgetFirstElementIncludingBlocks in interface SourceElementgetFirstElementIncludingBlocks in class FieldReferenceSourceElement.getStartPosition()public ProgramElementName getProgramElementName()
NamedProgramElementgetProgramElementName in interface NamedProgramElementgetProgramElementName in class VariableReferencepublic void prettyPrint(PrettyPrinter p) throws java.io.IOException
prettyPrint in interface SourceElementprettyPrint in class FieldReferencep - a pretty printer.java.io.IOException - occasionally thrown.public void visit(Visitor v)
visit in interface SourceElementvisit in class FieldReferencev - the Visitorpublic MatchConditions match(SourceData source, MatchConditions matchCond)
ProgramElementMatchConditions with 
 the found instantiations of the schemavariables. If the match 
 failed, null is returned instead.match in interface ProgramElementmatch in class JavaNonTerminalProgramElementsource - the SourceData with the program element to matchmatchCond - the MatchConditions found up to this point