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 booleanprivate Stringprivate IRStatementprivate intprivate Stringprivate 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[]intgetName()booleanprivate StringmakeGenericSignature(IType type, IType rtype, IType[] args) voidsetAnnotations(List<IRAnnotation> irAnnotations) toString()Methods inherited from class gw.lang.ir.IRStatement
getOriginalSourceStatement, setOriginalSourceStatementMethods 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:
getLeastSignificantTerminalStatementin classIRStatement
-
toString
-
signature
-
setAnnotations
-
getAnnotations
-
getAnnotationDefault
-
getGenericSignature
-
isExplicitInternal
public boolean isExplicitInternal()
-