Package gw.lang.ir.builder
Class IRClassBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<IRFieldDecl>
private List<IRMethodStatement>
private String
private IRType
private IRType
Fields inherited from class gw.lang.ir.builder.IRFeatureBuilder
_modifiers
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
build()
define
(ClassLoader classLoader) private Class
defineClassInLoader
(ClassLoader classLoader, String name, byte[] bytes) withField
(IRFieldDecl field) withInterface
(IRType type) withInterface
(IType type) withInterface
(IJavaClassInfo type) withInterface
(Class type) withMethod
(IRMethodStatement method) Methods inherited from class gw.lang.ir.builder.IRFeatureBuilder
_internal, _private, _protected, _public, _static, withModifiers
Methods inherited from class gw.lang.ir.builder.IRBuilder
getIRType, getIRType, getIRType, getIRTypes
-
Field Details
-
_thisType
-
_name
-
_superType
-
_methods
-
_fields
-
_interfaces
-
-
Constructor Details
-
IRClassBuilder
-
-
Method Details
-
getThisType
-
getFields
-
getMethods
-
getSuperType
-
createMethod
-
createConstructor
-
addDefaultConstructor
public void addDefaultConstructor() -
createField
-
withField
-
withMethod
-
withInterface
-
withInterface
-
withInterface
-
withInterface
-
asAbstract
-
asInterface
-
build
-
define
-
defineClassInLoader
-