Package gw.lang.parser
Class DefaultReducedSymbol
- java.lang.Object
-
- gw.lang.parser.DefaultReducedSymbol
-
- All Implemented Interfaces:
IReducedSymbol
public class DefaultReducedSymbol extends Object implements IReducedSymbol
-
-
Constructor Summary
Constructors Constructor Description DefaultReducedSymbol(String name, IType type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IReducedSymbol
createReducedSymbol()
List<IGosuAnnotation>
getAnnotations()
IExpression
getDefaultValueExpression()
String
getDisplayName()
String
getFullDescription()
IGosuClass
getGosuClass()
int
getIndex()
int
getModifiers()
String
getName()
IScriptPartId
getScriptPart()
Class
getSymbolClass()
IType
getType()
boolean
hasTypeVariables()
boolean
isAbstract()
boolean
isFinal()
boolean
isInternal()
boolean
isPrivate()
boolean
isProtected()
boolean
isPublic()
boolean
isReified()
boolean
isStatic()
boolean
isValueBoxed()
void
setType(IType type)
-
-
-
Method Detail
-
isStatic
public boolean isStatic()
- Specified by:
isStatic
in interfaceIReducedSymbol
-
getModifiers
public int getModifiers()
- Specified by:
getModifiers
in interfaceIReducedSymbol
-
getAnnotations
public List<IGosuAnnotation> getAnnotations()
- Specified by:
getAnnotations
in interfaceIReducedSymbol
-
getName
public String getName()
- Specified by:
getName
in interfaceIReducedSymbol
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceIReducedSymbol
-
getFullDescription
public String getFullDescription()
- Specified by:
getFullDescription
in interfaceIReducedSymbol
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivate
in interfaceIReducedSymbol
-
isInternal
public boolean isInternal()
- Specified by:
isInternal
in interfaceIReducedSymbol
-
isProtected
public boolean isProtected()
- Specified by:
isProtected
in interfaceIReducedSymbol
-
isPublic
public boolean isPublic()
- Specified by:
isPublic
in interfaceIReducedSymbol
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstract
in interfaceIReducedSymbol
-
isFinal
public boolean isFinal()
- Specified by:
isFinal
in interfaceIReducedSymbol
-
isReified
public boolean isReified()
- Specified by:
isReified
in interfaceIReducedSymbol
-
getType
public IType getType()
- Specified by:
getType
in interfaceIReducedSymbol
-
getScriptPart
public IScriptPartId getScriptPart()
- Specified by:
getScriptPart
in interfaceIReducedSymbol
-
getGosuClass
public IGosuClass getGosuClass()
- Specified by:
getGosuClass
in interfaceIReducedSymbol
-
hasTypeVariables
public boolean hasTypeVariables()
- Specified by:
hasTypeVariables
in interfaceIReducedSymbol
-
getSymbolClass
public Class getSymbolClass()
- Specified by:
getSymbolClass
in interfaceIReducedSymbol
-
isValueBoxed
public boolean isValueBoxed()
- Specified by:
isValueBoxed
in interfaceIReducedSymbol
-
getIndex
public int getIndex()
- Specified by:
getIndex
in interfaceIReducedSymbol
-
getDefaultValueExpression
public IExpression getDefaultValueExpression()
- Specified by:
getDefaultValueExpression
in interfaceIReducedSymbol
-
setType
public void setType(IType type)
-
createReducedSymbol
public IReducedSymbol createReducedSymbol()
-
-