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 class
IRClass.InnerClassInfo
-
Constructor Summary
Constructors Constructor Description IRClass()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addField(IRFieldDecl field)
void
addInnerClass(IRType innerClass, IRType enclosingType, int modifiers)
void
addInterface(IRType iface)
void
addMethod(IRMethodStatement method)
List<IRAnnotation>
getAnnotations()
List<IRFieldDecl>
getFields()
String
getGenericSignature()
List<IRClass.InnerClassInfo>
getInnerClasses()
List<IRType>
getInterfaces()
List<IRMethodStatement>
getMethods()
int
getModifiers()
String
getName()
String
getSourceFile()
IRType
getSuperType()
IRType
getThisType()
void
makeGenericSignature(IType type)
void
setAnnotations(List<IRAnnotation> annotations)
void
setModifiers(int modifiers)
void
setName(String name)
void
setSourceFile(String sourceFile)
void
setSuperType(IRType superType)
void
setThisType(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()
-
-