Package gw.internal.gosu.parser
Class ReducedDynamicFunctionSymbol
- java.lang.Object
-
- gw.internal.gosu.parser.ReducedSymbol
-
- gw.internal.gosu.parser.ReducedDynamicFunctionSymbol
-
- All Implemented Interfaces:
IReducedDynamicFunctionSymbol,IReducedSymbol
- Direct Known Subclasses:
ReducedDelegateFunctionSymbol,ReducedParameterizedDynamicFunctionSymbol,ReducedSuperConstructorFunctionSymbol,ReducedThisConstructorFunctionSymbol
public class ReducedDynamicFunctionSymbol extends ReducedSymbol implements IReducedDynamicFunctionSymbol
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gw.internal.gosu.parser.ReducedSymbol
ReducedSymbol.SyntheticSymbol
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<IReducedSymbol>_argsprivate IType[]_argTypesprivate boolean_isConstructorprivate IType_returnTypeprivate IReducedDynamicFunctionSymbol_superDfs-
Fields inherited from class gw.internal.gosu.parser.ReducedSymbol
_fullDescription
-
-
Constructor Summary
Constructors Constructor Description ReducedDynamicFunctionSymbol(DynamicFunctionSymbol dfs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<IGosuAnnotation>getAnnotations()java.util.List<IReducedSymbol>getArgs()IType[]getArgTypes()IReducedDynamicFunctionSymbolgetBackingDfs()java.lang.StringgetFullDescription()IAttributedFeatureInfogetMethodOrConstructorInfo()ITypegetReturnType()IReducedDynamicFunctionSymbolgetSuperDfs()inthashCode()java.lang.Objectinvoke(java.lang.Object[] args)Invokes the dynamic function.private java.lang.ObjectinvokeFromBytecode(java.lang.Object[] args)booleanisConstructor()booleanisSuperOrThisConstructor()booleanisVarPropertyGet()booleanisVarPropertySet()private java.util.List<IReducedSymbol>makeArgs(IDynamicFunctionSymbol dfs)-
Methods inherited from class gw.internal.gosu.parser.ReducedSymbol
getDefaultValueExpression, getDisplayName, getGosuClass, getIndex, getModifiers, getName, getScriptPart, getSymbolClass, getType, hasTypeVariables, isAbstract, isFinal, isInternal, isPrivate, isProtected, isPublic, isReified, isStatic, isValueBoxed, makeArgs, setType
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gw.lang.parser.IReducedDynamicFunctionSymbol
getDisplayName, getGosuClass, getModifiers, getName, getScriptPart, getType, isStatic
-
Methods inherited from interface gw.lang.parser.IReducedSymbol
getDefaultValueExpression, getIndex, getSymbolClass, hasTypeVariables, isAbstract, isFinal, isInternal, isPrivate, isProtected, isPublic, isReified, isValueBoxed
-
-
-
-
Field Detail
-
_argTypes
private IType[] _argTypes
-
_returnType
private IType _returnType
-
_args
private java.util.List<IReducedSymbol> _args
-
_superDfs
private IReducedDynamicFunctionSymbol _superDfs
-
_isConstructor
private final boolean _isConstructor
-
-
Constructor Detail
-
ReducedDynamicFunctionSymbol
ReducedDynamicFunctionSymbol(DynamicFunctionSymbol dfs)
-
-
Method Detail
-
makeArgs
private java.util.List<IReducedSymbol> makeArgs(IDynamicFunctionSymbol dfs)
-
getArgTypes
public IType[] getArgTypes()
- Specified by:
getArgTypesin interfaceIReducedDynamicFunctionSymbol
-
getReturnType
public IType getReturnType()
- Specified by:
getReturnTypein interfaceIReducedDynamicFunctionSymbol
-
getFullDescription
public java.lang.String getFullDescription()
- Specified by:
getFullDescriptionin interfaceIReducedDynamicFunctionSymbol- Specified by:
getFullDescriptionin interfaceIReducedSymbol- Overrides:
getFullDescriptionin classReducedSymbol
-
getArgs
public java.util.List<IReducedSymbol> getArgs()
- Specified by:
getArgsin interfaceIReducedDynamicFunctionSymbol
-
getSuperDfs
public IReducedDynamicFunctionSymbol getSuperDfs()
- Specified by:
getSuperDfsin interfaceIReducedDynamicFunctionSymbol
-
isSuperOrThisConstructor
public boolean isSuperOrThisConstructor()
- Specified by:
isSuperOrThisConstructorin interfaceIReducedDynamicFunctionSymbol
-
getBackingDfs
public IReducedDynamicFunctionSymbol getBackingDfs()
- Specified by:
getBackingDfsin interfaceIReducedDynamicFunctionSymbol
-
getMethodOrConstructorInfo
public IAttributedFeatureInfo getMethodOrConstructorInfo()
- Specified by:
getMethodOrConstructorInfoin interfaceIReducedDynamicFunctionSymbol
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classReducedSymbol
-
invoke
public java.lang.Object invoke(java.lang.Object[] args)
Invokes the dynamic function.- Specified by:
invokein interfaceIReducedDynamicFunctionSymbol
-
invokeFromBytecode
private java.lang.Object invokeFromBytecode(java.lang.Object[] args)
-
getAnnotations
public java.util.List<IGosuAnnotation> getAnnotations()
- Specified by:
getAnnotationsin interfaceIReducedSymbol- Overrides:
getAnnotationsin classReducedSymbol
-
isVarPropertyGet
public boolean isVarPropertyGet()
-
isVarPropertySet
public boolean isVarPropertySet()
-
isConstructor
public boolean isConstructor()
- Specified by:
isConstructorin interfaceIReducedDynamicFunctionSymbol
-
-