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
-
-
Field Summary
Fields Modifier and Type Field Description private IFunctionType_functionTypeprivate IMethodInfo_originalMethodprivate IMethodInfo_terminalMethod
-
Constructor Summary
Constructors Constructor Description IRMethodFromMethodInfo(IMethodInfo originalMethod, IFunctionType functionType)
-
Method Summary
-
Methods inherited from class gw.internal.gosu.ir.nodes.IRFeatureBase
addImplicitParameters, addTypeVariableParameters, getTypeDescriptors, maybeReifyFieldType, resolveFieldName
-
-
-
-
Field Detail
-
_originalMethod
private IMethodInfo _originalMethod
-
_terminalMethod
private IMethodInfo _terminalMethod
-
_functionType
private IFunctionType _functionType
-
-
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 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
-
isImplicitMethod
protected boolean isImplicitMethod()
- Overrides:
isImplicitMethodin classIRFeatureBase
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()
- Specified by:
isGeneratedEnumMethodin interfaceIRMethod
-
hasSignature
private boolean hasSignature(java.lang.String name, IType... argTypes)
-
isBytecodeMethod
public boolean isBytecodeMethod()
- Specified by:
isBytecodeMethodin interfaceIRMethod
-
getTrueOwningType
private static IRType getTrueOwningType(IMethodInfo mi)
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()
- Specified by:
couldHaveTypeVariablesin interfaceIRMethod
-
getActualMethodName
private java.lang.String getActualMethodName(IMethodInfo methodInfo)
-
getBoundedReturnType
private IRType getBoundedReturnType(IMethodInfo mi)
-
getBoundedReturnTypeFromProxiedClass
private IRType getBoundedReturnTypeFromProxiedClass(IReducedDynamicFunctionSymbol dfs)
-
getMethodDescriptor
public java.util.List<IRType> getMethodDescriptor(IMethodInfo mi)
-
getBoundedParameterTypeDescriptors
private java.util.List<IRType> getBoundedParameterTypeDescriptors(IMethodInfo mi)
-
getBoundedParamTypesFromProxiedClass
private java.util.List<IRType> getBoundedParamTypesFromProxiedClass(IReducedDynamicFunctionSymbol dfs)
-
getJavaMethodFromProxy
private IJavaClassMethod getJavaMethodFromProxy(IReducedDynamicFunctionSymbol dfs)
-
-