Package gw.lang.ir
Class IRClass
- java.lang.Object
-
- gw.lang.ir.IRClass
-
public class IRClass extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classIRClass.InnerClassInfo
-
Constructor Summary
Constructors Constructor Description IRClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddField(IRFieldDecl field)voidaddInnerClass(IRType innerClass, IRType enclosingType, int modifiers)voidaddInterface(IRType iface)voidaddMethod(IRMethodStatement method)List<IRAnnotation>getAnnotations()List<IRFieldDecl>getFields()StringgetGenericSignature()List<IRClass.InnerClassInfo>getInnerClasses()List<IRType>getInterfaces()List<IRMethodStatement>getMethods()intgetModifiers()StringgetName()StringgetSourceFile()IRTypegetSuperType()IRTypegetThisType()voidmakeGenericSignature(IType type)voidsetAnnotations(List<IRAnnotation> annotations)voidsetModifiers(int modifiers)voidsetName(String name)voidsetSourceFile(String sourceFile)voidsetSuperType(IRType superType)voidsetThisType(IRType thisType)
-
-
-
Method Detail
-
getModifiers
public int getModifiers()
-
setModifiers
public void setModifiers(int modifiers)
-
getName
public String getName()
-
setName
public void setName(String name)
-
getThisType
public IRType getThisType()
-
setThisType
public void setThisType(IRType thisType)
-
getSuperType
public IRType getSuperType()
-
setSuperType
public void setSuperType(IRType superType)
-
addInterface
public void addInterface(IRType iface)
-
getSourceFile
public String getSourceFile()
-
setSourceFile
public void setSourceFile(String sourceFile)
-
addMethod
public void addMethod(IRMethodStatement method)
-
addField
public void addField(IRFieldDecl field)
-
getInnerClasses
public List<IRClass.InnerClassInfo> getInnerClasses()
-
getMethods
public List<IRMethodStatement> getMethods()
-
getFields
public List<IRFieldDecl> getFields()
-
getAnnotations
public List<IRAnnotation> getAnnotations()
-
setAnnotations
public void setAnnotations(List<IRAnnotation> annotations)
-
makeGenericSignature
public void makeGenericSignature(IType type)
-
getGenericSignature
public String getGenericSignature()
-
-