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 booleancouldHaveTypeVariables()IRelativeTypeInfo.AccessibilitygetAccessibility()List<IRType>getAllParameterTypes()List<IRType>getExplicitParameterTypes()IFunctionTypegetFunctionType()List<IRType>getMethodDescriptor(IMethodInfo mi)StringgetName()IMethodInfogetOriginalMethod()IRTypegetOwningIRType()ITypegetOwningIType()IRTypegetReturnType()IRTypegetTargetRootIRType()IMethodInfogetTerminalMethod()IGenericTypeVariable[]getTypeVariables()booleanisBytecodeMethod()booleanisGeneratedEnumMethod()protected booleanisImplicitMethod()booleanisStatic()-
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:
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
-
isImplicitMethod
protected boolean isImplicitMethod()
- Overrides:
isImplicitMethodin classIRFeatureBase
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()
- Specified by:
isGeneratedEnumMethodin interfaceIRMethod
-
isBytecodeMethod
public boolean isBytecodeMethod()
- Specified by:
isBytecodeMethodin interfaceIRMethod
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()
- Specified by:
couldHaveTypeVariablesin interfaceIRMethod
-
getMethodDescriptor
public List<IRType> getMethodDescriptor(IMethodInfo mi)
-
-