Package gw.internal.gosu.ir.nodes
Class IRMethodFromMethodInfo
- java.lang.Object
-
- gw.internal.gosu.ir.nodes.IRFeatureBase
-
- gw.internal.gosu.ir.nodes.IRMethodFromMethodInfo
-
- All Implemented Interfaces:
IRMethod
public class IRMethodFromMethodInfo extends IRFeatureBase implements IRMethod
-
-
Constructor Summary
Constructors Constructor Description IRMethodFromMethodInfo(IMethodInfo originalMethod, IFunctionType functionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
couldHaveTypeVariables()
IRelativeTypeInfo.Accessibility
getAccessibility()
List<IRType>
getAllParameterTypes()
List<IRType>
getExplicitParameterTypes()
IFunctionType
getFunctionType()
List<IRType>
getMethodDescriptor(IMethodInfo mi)
String
getName()
IMethodInfo
getOriginalMethod()
IRType
getOwningIRType()
IType
getOwningIType()
IRType
getReturnType()
IRType
getTargetRootIRType()
IMethodInfo
getTerminalMethod()
IGenericTypeVariable[]
getTypeVariables()
boolean
isBytecodeMethod()
boolean
isGeneratedEnumMethod()
protected boolean
isImplicitMethod()
boolean
isStatic()
-
Methods inherited from class gw.internal.gosu.ir.nodes.IRFeatureBase
addImplicitParameters, addTypeVariableParameters, getTypeDescriptors, maybeReifyFieldType, resolveFieldName
-
-
-
-
Constructor Detail
-
IRMethodFromMethodInfo
public IRMethodFromMethodInfo(IMethodInfo originalMethod, IFunctionType functionType)
-
-
Method Detail
-
getOriginalMethod
public IMethodInfo getOriginalMethod()
-
getTerminalMethod
public IMethodInfo getTerminalMethod()
-
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
-
isImplicitMethod
protected boolean isImplicitMethod()
- Overrides:
isImplicitMethod
in classIRFeatureBase
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()
- Specified by:
isGeneratedEnumMethod
in interfaceIRMethod
-
isBytecodeMethod
public boolean isBytecodeMethod()
- Specified by:
isBytecodeMethod
in interfaceIRMethod
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()
- Specified by:
couldHaveTypeVariables
in interfaceIRMethod
-
getMethodDescriptor
public List<IRType> getMethodDescriptor(IMethodInfo mi)
-
-