public class SchemaTypeReference extends TypeReferenceImp implements AbstractProgramElement
| Modifier and Type | Field and Description |
|---|---|
private String |
fullName |
dimensions, name, prefix| Constructor and Description |
|---|
SchemaTypeReference(ProgramElementName name,
int dimension,
ReferencePrefix prefix) |
| Modifier and Type | Method and Description |
|---|---|
ProgramElement |
getConcreteProgramElement(Services services) |
KeYJavaType |
getKeYJavaType() |
KeYJavaType |
getKeYJavaType(Services services) |
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 printing the source element.
|
void |
visit(Visitor v)
calls the corresponding method of a visitor in order to
perform some action/transformation on this element
|
getChildAt, getChildCount, getDimensions, getExpressionAt, getExpressionCount, getFirstElement, getFirstElementIncludingBlocks, getName, getPackageReference, getProgramElementName, getReferencePrefix, getTypeReferenceAt, getTypeReferenceCountcompatibleBlockSize, equals, equalsModRenaming, getArrayPos, hashCode, matchChildrengetComments, prettyPrintMain, reuseSignaturegetEndPosition, getLastElement, getParentClass, getPositionInfo, getRelativePosition, getStartPosition, setParentClass, toSource, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetCommentsequalsModRenaming, getEndPosition, getFirstElement, getFirstElementIncludingBlocks, getLastElement, getPositionInfo, getRelativePosition, getStartPositionprivate final String fullName
public SchemaTypeReference(ProgramElementName name, int dimension, ReferencePrefix prefix)
public KeYJavaType getKeYJavaType()
getKeYJavaType in interface TypeReferencegetKeYJavaType in class TypeReferenceImppublic KeYJavaType getKeYJavaType(Services services)
public ProgramElement getConcreteProgramElement(Services services)
getConcreteProgramElement in interface AbstractProgramElementpublic 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 TypeReferenceImpsource - the SourceData with the program element to matchmatchCond - the MatchConditions found up to this pointpublic void visit(Visitor v)
visit in interface SourceElementvisit in class TypeReferenceImpv - the Visitorpublic void prettyPrint(PrettyPrinter p) throws IOException
JavaSourceElementprettyPrint in interface SourceElementprettyPrint in class TypeReferenceImpp - a pretty printer.IOException - occasionally thrown.