Package gw.lang.ir.statement
Class IRFieldDecl
- java.lang.Object
-
- gw.lang.ir.IRElement
-
- gw.lang.ir.IRStatement
-
- gw.lang.ir.statement.IRFieldDecl
-
public class IRFieldDecl extends IRStatement
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<IRAnnotation>_annotationsprivate boolean_explicitInternalprivate java.lang.String_genericSignatureprivate int_modifiersprivate java.lang.String_nameprivate IRType_typeprivate java.lang.Object_value
-
Constructor Summary
Constructors Constructor Description IRFieldDecl(int modifiers, boolean explicitInternal, java.lang.String name, IRType type, IType iType, java.lang.Object value)IRFieldDecl(int modifiers, boolean explicitInternal, java.lang.String name, IRType type, java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<IRAnnotation>getAnnotations()java.lang.StringgetGenericSignature()IRTerminalStatementgetLeastSignificantTerminalStatement()intgetModifiers()java.lang.StringgetName()IRTypegetType()java.lang.ObjectgetValue()booleanisExplicitInternal()private java.lang.StringmakeGenericSignature(IType type)voidsetAnnotations(java.util.List<IRAnnotation> irAnnotations)-
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 Detail
-
_modifiers
private int _modifiers
-
_name
private java.lang.String _name
-
_type
private IRType _type
-
_value
private java.lang.Object _value
-
_explicitInternal
private boolean _explicitInternal
-
_annotations
private java.util.List<IRAnnotation> _annotations
-
_genericSignature
private java.lang.String _genericSignature
-
-
Method Detail
-
makeGenericSignature
private java.lang.String makeGenericSignature(IType type)
-
getModifiers
public int getModifiers()
-
getName
public java.lang.String getName()
-
getType
public IRType getType()
-
getValue
public java.lang.Object getValue()
-
getLeastSignificantTerminalStatement
public IRTerminalStatement getLeastSignificantTerminalStatement()
- Specified by:
getLeastSignificantTerminalStatementin classIRStatement
-
setAnnotations
public void setAnnotations(java.util.List<IRAnnotation> irAnnotations)
-
getAnnotations
public java.util.List<IRAnnotation> getAnnotations()
-
getGenericSignature
public java.lang.String getGenericSignature()
-
isExplicitInternal
public boolean isExplicitInternal()
-
-