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 booleancouldHaveTypeVariables()IRelativeTypeInfo.AccessibilitygetAccessibility()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()IFunctionTypegetFunctionType()StringgetName()IRTypegetOwningIRType()ITypegetOwningIType()IRTypegetReturnType()ITypegetRuntimeEnclosingType(IType type)IRTypegetTargetRootIRType()IGenericTypeVariable[]getTypeVariables()booleanisBytecodeMethod()booleanisGeneratedEnumMethod()booleanisNonStaticInnerClass(IType type)booleanisStatic()
-
-
-
Constructor Detail
-
IRMethodForConstructorSymbol
public IRMethodForConstructorSymbol(IType gosuClass, DynamicFunctionSymbol dfs, int numberOfTypeParameters)
-
-
Method Detail
-
getReturnType
public IRType getReturnType()
- Specified by:
getReturnTypein interfaceIRMethod
-
getExplicitParameterTypes
public List<IRType> getExplicitParameterTypes()
- Specified by:
getExplicitParameterTypesin interfaceIRMethod
-
getAllParameterTypes
public List<IRType> getAllParameterTypes()
- Specified by:
getAllParameterTypesin interfaceIRMethod
-
getOwningIRType
public IRType getOwningIRType()
- Specified by:
getOwningIRTypein interfaceIRMethod
-
getOwningIType
public IType getOwningIType()
- Specified by:
getOwningITypein interfaceIRMethod
-
getAccessibility
public IRelativeTypeInfo.Accessibility getAccessibility()
- Specified by:
getAccessibilityin interfaceIRMethod
-
getTargetRootIRType
public IRType getTargetRootIRType()
- Specified by:
getTargetRootIRTypein interfaceIRMethod
-
getTypeVariables
public IGenericTypeVariable[] getTypeVariables()
- Specified by:
getTypeVariablesin interfaceIRMethod
-
getFunctionType
public IFunctionType 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
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:
couldHaveTypeVariablesin interfaceIRMethod
-
-