Package gw.lang.ir.builder
Class IRClassBuilder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<IRFieldDecl>private List<IRMethodStatement>private Stringprivate IRTypeprivate IRTypeFields inherited from class gw.lang.ir.builder.IRFeatureBuilder
_modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbuild()define(ClassLoader classLoader) private ClassdefineClassInLoader(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, withModifiersMethods 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
-