java.lang.Object
org.apache.derby.impl.services.bytecode.GClass
- All Implemented Interfaces:
- org.apache.derby.iapi.services.compiler.ClassBuilder
- Direct Known Subclasses:
- BCClass
- public abstract class GClass
- extends java.lang.Object
- implements org.apache.derby.iapi.services.compiler.ClassBuilder
This is a common superclass for the various impls.
Saving class files is a common thing to do.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bytecode
protected org.apache.derby.iapi.util.ByteArray bytecode
cf
protected final org.apache.derby.iapi.services.loader.ClassFactory cf
qualifiedName
protected final java.lang.String qualifiedName
GClass
public GClass(org.apache.derby.iapi.services.loader.ClassFactory cf,
java.lang.String qualifiedName)
getFullName
public java.lang.String getFullName()
- Description copied from interface:
org.apache.derby.iapi.services.compiler.ClassBuilder
- the class's qualified name
- Specified by:
getFullName in interface org.apache.derby.iapi.services.compiler.ClassBuilder
getGeneratedClass
public org.apache.derby.iapi.services.loader.GeneratedClass getGeneratedClass()
throws org.apache.derby.iapi.error.StandardException
- Description copied from interface:
org.apache.derby.iapi.services.compiler.ClassBuilder
- Fully create the bytecode and load the
class using the ClassBuilder's ClassFactory.
- Specified by:
getGeneratedClass in interface org.apache.derby.iapi.services.compiler.ClassBuilder
writeClassFile
protected void writeClassFile(java.lang.String dir,
boolean logMessage,
java.lang.Throwable t)
throws org.apache.derby.iapi.error.StandardException
validateType
public final void validateType(java.lang.String typeName1)