Package gw.internal.gosu.ir.nodes
Class IRMethodFromConstructorInfo
- java.lang.Object
-
- gw.internal.gosu.ir.nodes.IRFeatureBase
-
- gw.internal.gosu.ir.nodes.IRMethodFromConstructorInfo
-
- All Implemented Interfaces:
IRMethod
public class IRMethodFromConstructorInfo extends IRFeatureBase implements IRMethod
-
-
Field Summary
Fields Modifier and Type Field Description private IConstructorInfo_constructor
-
Constructor Summary
Constructors Constructor Description IRMethodFromConstructorInfo(IConstructorInfo constructor)
-
Method Summary
-
Methods inherited from class gw.internal.gosu.ir.nodes.IRFeatureBase
addImplicitParameters, addTypeVariableParameters, getTypeDescriptors, isImplicitMethod, maybeReifyFieldType, resolveFieldName
-
-
-
-
Field Detail
-
_constructor
private IConstructorInfo _constructor
-
-
Constructor Detail
-
IRMethodFromConstructorInfo
public IRMethodFromConstructorInfo(IConstructorInfo constructor)
-
-
Method Detail
-
getReturnType
public IRType getReturnType()
- Specified by:
getReturnTypein interfaceIRMethod
-
getExplicitParameterTypes
public java.util.List<IRType> getExplicitParameterTypes()
- Specified by:
getExplicitParameterTypesin interfaceIRMethod
-
getAllParameterTypes
public java.util.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
-
isBytecodeMethod
public boolean isBytecodeMethod()
- Specified by:
isBytecodeMethodin interfaceIRMethod
-
getTrueOwningType
private static IRType getTrueOwningType(IConstructorInfo mi)
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()
- Specified by:
couldHaveTypeVariablesin interfaceIRMethod
-
getMethodDescriptor
public java.util.List<IRType> getMethodDescriptor(IConstructorInfo mi)
-
addImplicitConstructorParamTypes
private void addImplicitConstructorParamTypes(IType owningType, java.util.List<IRType> paramTypes)
-
addImplicitOuterParamType
private void addImplicitOuterParamType(IType owningType, java.util.List<IRType> paramTypes)
-
addImplicitCapturedSymbolParamTypes
private void addImplicitCapturedSymbolParamTypes(IType owningType, java.util.List<IRType> paramTypes)
-
addImplicitTypeVariableParamTypes
private void addImplicitTypeVariableParamTypes(IType owningType, java.util.List<IRType> paramTypes)
-
addTypeVarsFromEnclosingFunctions
private void addTypeVarsFromEnclosingFunctions(IGosuClassInternal gsClass, java.util.List<IRType> parameters)
-
addImplicitEnumParamTypes
private void addImplicitEnumParamTypes(IType owningType, java.util.List<IRType> paramTypes)
-
getBoundedParameterTypeDescriptors
private java.util.List<IRType> getBoundedParameterTypeDescriptors(IConstructorInfo mi)
-
getBoundedParamTypesFromProxiedClass
private java.util.List<IRType> getBoundedParamTypesFromProxiedClass(IReducedDynamicFunctionSymbol dfs)
-
getJavaConstructorFromProxy
private java.lang.reflect.Constructor getJavaConstructorFromProxy(IReducedDynamicFunctionSymbol dfs)
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()
- Specified by:
isGeneratedEnumMethodin interfaceIRMethod
-
-