Package gw.internal.gosu.ir.nodes
Class SyntheticIRMethod
- java.lang.Object
-
- gw.internal.gosu.ir.nodes.SyntheticIRMethod
-
-
Field Summary
Fields Modifier and Type Field Description private IRelativeTypeInfo.Accessibility_accessibilityprivate java.lang.String_nameprivate IType_ownerprivate java.util.List<IRType>_parameterTypesprivate IRType_returnTypeprivate boolean_static
-
Constructor Summary
Constructors Constructor Description SyntheticIRMethod(IType owner, java.lang.String name, IRType returnType, java.util.List<IRType> parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean aStatic)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancouldHaveTypeVariables()IRelativeTypeInfo.AccessibilitygetAccessibility()java.util.List<IRType>getAllParameterTypes()java.util.List<IRType>getExplicitParameterTypes()IFunctionTypegetFunctionType()java.lang.StringgetName()IRTypegetOwningIRType()ITypegetOwningIType()IRTypegetReturnType()IRTypegetTargetRootIRType()IGenericTypeVariable[]getTypeVariables()booleanisBytecodeMethod()booleanisGeneratedEnumMethod()booleanisStatic()
-
-
-
Field Detail
-
_owner
private IType _owner
-
_name
private java.lang.String _name
-
_returnType
private IRType _returnType
-
_parameterTypes
private java.util.List<IRType> _parameterTypes
-
_accessibility
private IRelativeTypeInfo.Accessibility _accessibility
-
_static
private boolean _static
-
-
Constructor Detail
-
SyntheticIRMethod
public SyntheticIRMethod(IType owner, java.lang.String name, IRType returnType, java.util.List<IRType> parameterTypes, IRelativeTypeInfo.Accessibility accessibility, boolean aStatic)
-
-
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
-
couldHaveTypeVariables
public boolean couldHaveTypeVariables()
- Specified by:
couldHaveTypeVariablesin interfaceIRMethod
-
isGeneratedEnumMethod
public boolean isGeneratedEnumMethod()
- Specified by:
isGeneratedEnumMethodin interfaceIRMethod
-
-