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 TypeMethodDescriptionboolean
getConstructorParamTypes
(IType[] declaredParams, int iTypeParams, IType type) Parameters are order like so: ctor( [OuterThis,] [This,] [CapturedSymbols,] [TypeParams,] [EnumParams,] params )getName()
getRuntimeEnclosingType
(IType type) boolean
boolean
boolean
isNonStaticInnerClass
(IType type) boolean
isStatic()
private IType
maybeUnwrapProxy
(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:
getReturnType
in interfaceIRMethod
-
getExplicitParameterTypes
- Specified by:
getExplicitParameterTypes
in interfaceIRMethod
-
getAllParameterTypes
- Specified by:
getAllParameterTypes
in interfaceIRMethod
-
getName
-
getOwningIRType
- Specified by:
getOwningIRType
in interfaceIRMethod
-
getOwningIType
- Specified by:
getOwningIType
in interfaceIRMethod
-
getAccessibility
- Specified by:
getAccessibility
in interfaceIRMethod
-
isStatic
public boolean isStatic() -
getTargetRootIRType
- Specified by:
getTargetRootIRType
in interfaceIRMethod
-
getTypeVariables
- Specified by:
getTypeVariables
in interfaceIRMethod
-
getFunctionType
- Specified by:
getFunctionType
in interfaceIRMethod
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()- Specified by:
isGeneratedEnumMethod
in interfaceIRMethod
-
isBytecodeMethod
public boolean isBytecodeMethod()- Specified by:
isBytecodeMethod
in 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:
couldHaveTypeVariables
in interfaceIRMethod
-