org.glassfish.hk2.classmodel.reflect.impl
Class ModelBuilder

java.lang.Object
  extended by org.glassfish.hk2.classmodel.reflect.impl.ModelBuilder

public class ModelBuilder
extends java.lang.Object

convenient class to build model implementations


Nested Class Summary
static interface ModelBuilder.ElementType
           
static class ModelBuilder.types
           
 
Field Summary
 java.lang.String name
           
 TypeProxy parent
           
 TypeProxy sink
           
 
Constructor Summary
ModelBuilder(java.lang.String name, TypeProxy sink)
           
 
Method Summary
 TypeImpl build(int access)
           
 TypeImpl build(ModelBuilder.ElementType type)
           
 AnnotationModelImpl buildAnnotation()
           
 ClassModel buildClass()
           
 InterfaceModelImpl buildInterface()
           
 ModelBuilder setParent(TypeProxy parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public final java.lang.String name

sink

public final TypeProxy sink

parent

public TypeProxy parent
Constructor Detail

ModelBuilder

public ModelBuilder(java.lang.String name,
                    TypeProxy sink)
Method Detail

setParent

public ModelBuilder setParent(TypeProxy parent)

build

public TypeImpl build(int access)

buildInterface

public InterfaceModelImpl buildInterface()

buildAnnotation

public AnnotationModelImpl buildAnnotation()

buildClass

public ClassModel buildClass()

build

public TypeImpl build(ModelBuilder.ElementType type)


Copyright © 2010 Sun Microsystems, Inc.. All Rights Reserved.