Class GClass
java.lang.Object
org.apache.derby.impl.services.bytecode.GClass
- All Implemented Interfaces:
ClassBuilder
- Direct Known Subclasses:
BCClass
This is a common superclass for the various impls.
Saving class files is a common thing to do.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ByteArray
protected final ClassFactory
protected final String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionthe class's qualified nameFully create the bytecode and load the class using the ClassBuilder's ClassFactory.(package private) final void
validateType
(String typeName1) protected void
writeClassFile
(String dir, boolean logMessage, Throwable t) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.derby.iapi.services.compiler.ClassBuilder
addField, getClassBytecode, getName, newConstructorBuilder, newMethodBuilder, newMethodBuilder
-
Field Details
-
bytecode
-
cf
-
qualifiedName
-
-
Constructor Details
-
GClass
-
-
Method Details
-
getFullName
Description copied from interface:ClassBuilder
the class's qualified name- Specified by:
getFullName
in interfaceClassBuilder
-
getGeneratedClass
Description copied from interface:ClassBuilder
Fully create the bytecode and load the class using the ClassBuilder's ClassFactory.- Specified by:
getGeneratedClass
in interfaceClassBuilder
- Throws:
StandardException
- Standard Derby policy
-
writeClassFile
- Throws:
StandardException
-
validateType
-