Package gw.internal.gosu.parser
Class ReducedSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.ReducedSymbol
-
- All Implemented Interfaces:
IReducedSymbol
- Direct Known Subclasses:
ReducedDynamicFunctionSymbol,ReducedDynamicPropertySymbol
public class ReducedSymbol extends java.lang.Object implements IReducedSymbol
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReducedSymbol.SyntheticSymbol
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<IGosuAnnotation>_annotationsprivate boolean_bValueBoxedprivate IExpression_defValueprivate java.lang.String_displayNameprotected java.lang.String_fullDescriptionprivate int_iIndexprivate boolean_isStaticprivate int_modifiersprivate java.lang.String_nameprivate IScriptPartId_scriptPartIdprivate java.lang.Class<?>_symClassprivate IType_type
-
Constructor Summary
Constructors Constructor Description ReducedSymbol(AbstractDynamicSymbol sym)ReducedSymbol(ISymbol arg)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<IGosuAnnotation>getAnnotations()IExpressiongetDefaultValueExpression()java.lang.StringgetDisplayName()java.lang.StringgetFullDescription()IGosuClassInternalgetGosuClass()intgetIndex()intgetModifiers()java.lang.StringgetName()IScriptPartIdgetScriptPart()java.lang.Class<?>getSymbolClass()ITypegetType()booleanhasTypeVariables()booleanisAbstract()booleanisFinal()booleanisInternal()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisReified()booleanisStatic()booleanisValueBoxed()static java.util.List<ISymbol>makeArgs(java.util.List<IReducedSymbol> args)(package private) voidsetType(IType type)
-
-
-
Field Detail
-
_isStatic
private boolean _isStatic
-
_type
private IType _type
-
_name
private java.lang.String _name
-
_displayName
private java.lang.String _displayName
-
_fullDescription
protected java.lang.String _fullDescription
-
_scriptPartId
private IScriptPartId _scriptPartId
-
_modifiers
private int _modifiers
-
_annotations
private java.util.List<IGosuAnnotation> _annotations
-
_symClass
private java.lang.Class<?> _symClass
-
_defValue
private IExpression _defValue
-
_bValueBoxed
private boolean _bValueBoxed
-
_iIndex
private int _iIndex
-
-
Constructor Detail
-
ReducedSymbol
ReducedSymbol(AbstractDynamicSymbol sym)
-
ReducedSymbol
public ReducedSymbol(ISymbol arg)
-
-
Method Detail
-
getSymbolClass
public java.lang.Class<?> getSymbolClass()
- Specified by:
getSymbolClassin interfaceIReducedSymbol
-
isValueBoxed
public boolean isValueBoxed()
- Specified by:
isValueBoxedin interfaceIReducedSymbol
-
getIndex
public int getIndex()
- Specified by:
getIndexin interfaceIReducedSymbol
-
getDefaultValueExpression
public IExpression getDefaultValueExpression()
- Specified by:
getDefaultValueExpressionin interfaceIReducedSymbol
-
isStatic
public boolean isStatic()
- Specified by:
isStaticin interfaceIReducedSymbol
-
getModifiers
public int getModifiers()
- Specified by:
getModifiersin interfaceIReducedSymbol
-
getAnnotations
public java.util.List<IGosuAnnotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceIReducedSymbol
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceIReducedSymbol
-
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayNamein interfaceIReducedSymbol
-
getFullDescription
public java.lang.String getFullDescription()
- Specified by:
getFullDescriptionin interfaceIReducedSymbol
-
isPrivate
public boolean isPrivate()
- Specified by:
isPrivatein interfaceIReducedSymbol
-
isInternal
public boolean isInternal()
- Specified by:
isInternalin interfaceIReducedSymbol
-
isProtected
public boolean isProtected()
- Specified by:
isProtectedin interfaceIReducedSymbol
-
isPublic
public boolean isPublic()
- Specified by:
isPublicin interfaceIReducedSymbol
-
isAbstract
public boolean isAbstract()
- Specified by:
isAbstractin interfaceIReducedSymbol
-
isFinal
public boolean isFinal()
- Specified by:
isFinalin interfaceIReducedSymbol
-
isReified
public boolean isReified()
- Specified by:
isReifiedin interfaceIReducedSymbol
-
getType
public IType getType()
- Specified by:
getTypein interfaceIReducedSymbol
-
setType
void setType(IType type)
-
getScriptPart
public IScriptPartId getScriptPart()
- Specified by:
getScriptPartin interfaceIReducedSymbol
-
getGosuClass
public IGosuClassInternal getGosuClass()
- Specified by:
getGosuClassin interfaceIReducedSymbol
-
hasTypeVariables
public boolean hasTypeVariables()
- Specified by:
hasTypeVariablesin interfaceIReducedSymbol
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
makeArgs
public static java.util.List<ISymbol> makeArgs(java.util.List<IReducedSymbol> args)
-
-