Package gw.lang.ir.statement
Class IRMethodStatement
- java.lang.Object
-
- gw.lang.ir.IRElement
-
- gw.lang.ir.IRStatement
-
- gw.lang.ir.statement.IRMethodStatement
-
public class IRMethodStatement extends IRStatement
-
-
Constructor Summary
Constructors Constructor Description IRMethodStatement(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]
getAnnotationDefault()
List<IRAnnotation>
getAnnotations()
String
getGenericSignature()
IRTerminalStatement
getLeastSignificantTerminalStatement()
IRStatement
getMethodBody()
int
getModifiers()
String
getName()
List<IRSymbol>
getParameters()
IRType
getReturnType()
boolean
isExplicitInternal()
void
setAnnotations(List<IRAnnotation> irAnnotations)
String
signature()
String
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
-
-
-
-
Constructor Detail
-
IRMethodStatement
public IRMethodStatement(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, List<IRSymbol> parameters)
-
IRMethodStatement
public IRMethodStatement(IRStatement methodBody, String name, int modifiers, boolean explicitInternal, IRType returnType, List<IRSymbol> parameters, Object[] annotationDefault)
-
-
Method Detail
-
getMethodBody
public IRStatement getMethodBody()
-
getName
public String getName()
-
getModifiers
public int getModifiers()
-
getReturnType
public IRType getReturnType()
-
getLeastSignificantTerminalStatement
public IRTerminalStatement getLeastSignificantTerminalStatement()
- Specified by:
getLeastSignificantTerminalStatement
in classIRStatement
-
signature
public String signature()
-
setAnnotations
public void setAnnotations(List<IRAnnotation> irAnnotations)
-
getAnnotations
public List<IRAnnotation> getAnnotations()
-
getAnnotationDefault
public Object[] getAnnotationDefault()
-
getGenericSignature
public String getGenericSignature()
-
isExplicitInternal
public boolean isExplicitInternal()
-
-