Package gw.internal.gosu.ir.nodes
Class IRMethodForConstructorSymbol
- java.lang.Object
-
- gw.internal.gosu.ir.nodes.IRMethodForConstructorSymbol
-
-
Constructor Summary
Constructors Constructor Description IRMethodForConstructorSymbol(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
couldHaveTypeVariables()
IRelativeTypeInfo.Accessibility
getAccessibility()
List<IRType>
getAllParameterTypes()
protected List<IRType>
getConstructorParamTypes(IType[] declaredParams, int iTypeParams, IType type)
Parameters are order like so: ctor( [OuterThis,] [This,] [CapturedSymbols,] [TypeParams,] [EnumParams,] params )List<IRType>
getExplicitParameterTypes()
IFunctionType
getFunctionType()
String
getName()
IRType
getOwningIRType()
IType
getOwningIType()
IRType
getReturnType()
IType
getRuntimeEnclosingType(IType type)
IRType
getTargetRootIRType()
IGenericTypeVariable[]
getTypeVariables()
boolean
isBytecodeMethod()
boolean
isGeneratedEnumMethod()
boolean
isNonStaticInnerClass(IType type)
boolean
isStatic()
-
-
-
Constructor Detail
-
IRMethodForConstructorSymbol
public IRMethodForConstructorSymbol(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters)
-
-
Method Detail
-
getReturnType
public IRType getReturnType()
- Specified by:
getReturnType
in interfaceIRMethod
-
getExplicitParameterTypes
public List<IRType> getExplicitParameterTypes()
- Specified by:
getExplicitParameterTypes
in interfaceIRMethod
-
getAllParameterTypes
public List<IRType> getAllParameterTypes()
- Specified by:
getAllParameterTypes
in interfaceIRMethod
-
getOwningIRType
public IRType getOwningIRType()
- Specified by:
getOwningIRType
in interfaceIRMethod
-
getOwningIType
public IType getOwningIType()
- Specified by:
getOwningIType
in interfaceIRMethod
-
getAccessibility
public IRelativeTypeInfo.Accessibility getAccessibility()
- Specified by:
getAccessibility
in interfaceIRMethod
-
getTargetRootIRType
public IRType getTargetRootIRType()
- Specified by:
getTargetRootIRType
in interfaceIRMethod
-
getTypeVariables
public IGenericTypeVariable[] getTypeVariables()
- Specified by:
getTypeVariables
in interfaceIRMethod
-
getFunctionType
public IFunctionType 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
public IType getRuntimeEnclosingType(IType type)
- 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)
-
isNonStaticInnerClass
public boolean isNonStaticInnerClass(IType type)
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()
- Specified by:
couldHaveTypeVariables
in interfaceIRMethod
-
-