Package gw.internal.gosu.ir.nodes
Class IRMethodForConstructorSymbol
java.lang.Object
gw.internal.gosu.ir.nodes.IRMethodForConstructorSymbol
- All Implemented Interfaces:
IRMethod
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIRMethodForConstructorSymbol(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetConstructorParamTypes(IType[] declaredParams, int iTypeParams, IType type) Parameters are order like so: ctor( [OuterThis,] [This,] [CapturedSymbols,] [TypeParams,] [EnumParams,] params )getName()getRuntimeEnclosingType(IType type) booleanbooleanbooleanisNonStaticInnerClass(IType type) booleanisStatic()private ITypemaybeUnwrapProxy(IType type)
-
Field Details
-
_gosuClass
-
_dfs
-
_numberOfTypeParameters
private int _numberOfTypeParameters
-
-
Constructor Details
-
IRMethodForConstructorSymbol
public IRMethodForConstructorSymbol(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters)
-
-
Method Details
-
getReturnType
- Specified by:
getReturnTypein interfaceIRMethod
-
getExplicitParameterTypes
- Specified by:
getExplicitParameterTypesin interfaceIRMethod
-
getAllParameterTypes
- Specified by:
getAllParameterTypesin interfaceIRMethod
-
getName
-
getOwningIRType
- Specified by:
getOwningIRTypein interfaceIRMethod
-
getOwningIType
- Specified by:
getOwningITypein interfaceIRMethod
-
getAccessibility
- Specified by:
getAccessibilityin interfaceIRMethod
-
isStatic
public boolean isStatic() -
getTargetRootIRType
- Specified by:
getTargetRootIRTypein interfaceIRMethod
-
getTypeVariables
- Specified by:
getTypeVariablesin interfaceIRMethod
-
getFunctionType
- Specified by:
getFunctionTypein interfaceIRMethod
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()- Specified by:
isGeneratedEnumMethodin interfaceIRMethod
-
isBytecodeMethod
public boolean isBytecodeMethod()- Specified by:
isBytecodeMethodin interfaceIRMethod
-
getConstructorParamTypes
protected List<IRType> getConstructorParamTypes(IType[] declaredParams, int iTypeParams, IType type) Parameters are order like so: ctor( [OuterThis,] [This,] [CapturedSymbols,] [TypeParams,] [EnumParams,] params ) -
getRuntimeEnclosingType
- Parameters:
type-- Returns:
- the actual runtime enclosing type of this type (handles the case of enhancements, when the "enclosing type" at runtime will be the enhanced object, rather than the acutal enclosing type)
-
maybeUnwrapProxy
-
isNonStaticInnerClass
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()- Specified by:
couldHaveTypeVariablesin interfaceIRMethod
-