Package gw.lang.ir.statement
Class IRMethodStatement
java.lang.Object
gw.lang.ir.IRElement
gw.lang.ir.IRStatement
gw.lang.ir.statement.IRMethodStatement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Object[]
private List<IRAnnotation>
private boolean
private String
private IRStatement
private int
private String
private IRType
-
Constructor Summary
ConstructorsConstructorDescriptionIRMethodStatement
(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, IType returnIType, List<IRSymbol> parameters, IType[] argTypes, IType methodType, Object[] annotationDefault) IRMethodStatement
(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, List<IRSymbol> parameters) IRMethodStatement
(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, List<IRSymbol> parameters, Object[] annotationDefault) -
Method Summary
Modifier and TypeMethodDescriptionObject[]
int
getName()
boolean
private String
makeGenericSignature
(IType type, IType rtype, IType[] args) void
setAnnotations
(List<IRAnnotation> irAnnotations) toString()
Methods inherited from class gw.lang.ir.IRStatement
getOriginalSourceStatement, setOriginalSourceStatement
Methods inherited from class gw.lang.ir.IRElement
getLineNumber, getParent, isImplicit, maybeEraseStructuralSymbolTypes, maybeEraseStructuralType, maybeEraseStructuralType, maybeEraseStructuralTypes, setImplicit, setLineNumber, setParent, setParentToThis
-
Field Details
-
_methodBody
-
_name
-
_modifiers
private int _modifiers -
_parameters
-
_returnType
-
_annotations
-
_explicitInternal
private boolean _explicitInternal -
_annotationDefault
-
_genericSignature
-
-
Constructor Details
-
IRMethodStatement
public IRMethodStatement(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, List<IRSymbol> parameters) -
IRMethodStatement
-
IRMethodStatement
-
-
Method Details
-
makeGenericSignature
-
getMethodBody
-
getName
-
getModifiers
public int getModifiers() -
getParameters
-
getReturnType
-
getLeastSignificantTerminalStatement
- Specified by:
getLeastSignificantTerminalStatement
in classIRStatement
-
toString
-
signature
-
setAnnotations
-
getAnnotations
-
getAnnotationDefault
-
getGenericSignature
-
isExplicitInternal
public boolean isExplicitInternal()
-