com.amazon.carbonado.synthetic
Class ClassFileBuilder

java.lang.Object
  extended by com.amazon.carbonado.synthetic.ClassFileBuilder

public abstract class ClassFileBuilder
extends Object

Simple interface representing a partially filled class and injector pair.

This is abstract because it provides no mechanism for defining the classfile or injector; subclasses must provide them.

Author:
Don Schneider

Field Summary
protected  ClassFile mClassFile
          Partially hydrogenated class operators
protected  ClassInjector mInjector
           
 
Constructor Summary
ClassFileBuilder()
           
 
Method Summary
 Class build()
          Defines the class for this generator
 ClassFile getClassFile()
           
 ClassInjector getInjector()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mClassFile

protected ClassFile mClassFile
Partially hydrogenated class operators


mInjector

protected ClassInjector mInjector
Constructor Detail

ClassFileBuilder

public ClassFileBuilder()
Method Detail

getClassFile

public ClassFile getClassFile()
Returns:
Returns the classFile.

getInjector

public ClassInjector getInjector()
Returns:
Returns the injector.

build

public Class build()
Defines the class for this generator



Copyright © 2006-2009 Amazon Technologies, Inc.. All Rights Reserved.