|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.rit.m2mi.Synthesizer
public abstract class Synthesizer
Class Synthesizer is the abstract base class for an object that synthesizes
some type of class. Subclass MethodInvokerSynthesizer
synthesizes a method invoker class.
Subclass
HandleSynthesizer
synthesizes
a handle class.
Constructor Summary | |
---|---|
Synthesizer(String theClassName)
Create a new synthesizer object. |
Method Summary | |
---|---|
abstract SynthesizedClassDescription |
getClassDescription()
Synthesize this synthesizer's class description. |
byte[] |
getClassFile()
Synthesize this synthesizer's class file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Synthesizer(String theClassName)
theClassName
- Name of the synthesized class.
NullPointerException
- (unchecked exception) Thrown if theClassName is null.Method Detail |
---|
public byte[] getClassFile()
InvalidMethodException
- (unchecked exception) Thrown if any target interface is a class
rather than an interface, if any method in any target interface
returns a value, or if any method in any target interface throws any
checked exceptions.
SynthesisException
- (unchecked exception) Thrown if there was a problem synthesizing the
class.public abstract SynthesizedClassDescription getClassDescription()
InvalidMethodException
- (unchecked exception) Thrown if any target interface is a class
rather than an interface, if any method in any target interface
returns a value, or if any method in any target interface throws any
checked exceptions.
SynthesisException
- (unchecked exception) Thrown if there was a problem synthesizing the
class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |