public abstract class Field extends GTVDeclarationContext implements TypeInsertable, Typeable, Generic, GenericTypeInsertable
Modifier and Type | Field and Description |
---|---|
protected Menge<DeclId> |
declid |
private GenericDeclarationList |
genericParameters |
private int |
offset |
private Type |
typ |
parent
Constructor and Description |
---|
Field(int offset) |
Modifier and Type | Method and Description |
---|---|
abstract TypeAssumptions |
createTypeAssumptions(Class classmember)
Diese Methode generiert die Assumptions für dieses Feld der Klasse classmember
|
TypeInsertPoint |
createTypeInsertPoint(TypePlaceholder tph,
ResultSet resultSet)
Errechnet den TypeInsertPoint für das TypeInsertable.
|
Menge<DeclId> |
get_Name() |
Menge<SyntaxTreeNode> |
getChildren() |
Menge<DeclId> |
getDeclIdMenge() |
java.lang.String |
getDescription()
Eine Beschreibung/Name des SyntaxTree-Nodes
|
(package private) GenericDeclarationList |
getGenericDeclarationList() |
Menge<GenericTypeVar> |
getGenericParameter() |
int |
getGenericVarDeclarationOffset() |
java.lang.String |
getGenericVarDeclarationString(java.lang.String genericVarDeclaration) |
java.lang.String |
getIdentifier() |
int |
getOffset() |
Type |
getType() |
boolean |
isClass() |
boolean |
isPublic() |
abstract JavaCodeResult |
printJavaCode(ResultSet resultSet) |
void |
set_DeclId(DeclId did) |
void |
setDeclIdMenge(Menge<DeclId> vDeclId) |
void |
setGenericParameter(GenericDeclarationList params) |
void |
setOffset(int offset) |
void |
setType(Type typ) |
abstract ConstraintsSet |
TYPE(TypeAssumptions publicAssumptions) |
void |
wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist)
Wird im Zuge des ParserPostProcessing aufgerufen.
|
getGTVDeclarationContext
addTypeInsertPoints, equals, getMatchingParentNode, getParent, getParentClass, parserPostProcessing, seesType
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVariableLength
private Type typ
private int offset
private GenericDeclarationList genericParameters
public void setOffset(int offset)
setOffset
in interface TypeInsertable
public int getOffset()
getOffset
in interface IItemWithOffset
getOffset
in interface TypeInsertable
public void setType(Type typ)
public Menge<GenericTypeVar> getGenericParameter()
getGenericParameter
in interface Generic
GenericDeclarationList getGenericDeclarationList()
public void set_DeclId(DeclId did)
public abstract JavaCodeResult printJavaCode(ResultSet resultSet)
public abstract TypeAssumptions createTypeAssumptions(Class classmember)
classmember
- public abstract ConstraintsSet TYPE(TypeAssumptions publicAssumptions)
public java.lang.String getIdentifier()
getIdentifier
in interface TypeInsertable
public java.lang.String getDescription()
SyntaxTreeNode
getDescription
in class SyntaxTreeNode
public TypeInsertPoint createTypeInsertPoint(TypePlaceholder tph, ResultSet resultSet)
TypeInsertable
createTypeInsertPoint
in interface TypeInsertable
public void wandleRefTypeAttributes2GenericAttributes(Menge<Type> paralist)
paralist
- public boolean isPublic()
public java.lang.String getGenericVarDeclarationString(java.lang.String genericVarDeclaration)
getGenericVarDeclarationString
in interface GenericTypeInsertable
public int getGenericVarDeclarationOffset()
getGenericVarDeclarationOffset
in interface GenericTypeInsertable
public Menge<SyntaxTreeNode> getChildren()
getChildren
in class SyntaxTreeNode
public void setGenericParameter(GenericDeclarationList params)
setGenericParameter
in interface Generic
public boolean isClass()
isClass
in class GTVDeclarationContext