GWT 2.1.1

com.google.gwt.core.ext.typeinfo
Class TypeOracleBuilder

java.lang.Object
  extended by com.google.gwt.core.ext.typeinfo.TypeOracleBuilder

public class TypeOracleBuilder
extends java.lang.Object

Constructs a new TypeOracle. This class provides package-level access to a TypeOracle that is under construction. Once the TypeOracle is built, new classes can be added later, but should never be removed. This class's API is an implementation detail and should not be considered stable. It is subject to change.


Field Summary
protected  TypeOracle typeOracle
          The TypeOracle being built.
 
Constructor Summary
TypeOracleBuilder()
           
 
Method Summary
protected  void addAnnotations(JPackage pkg, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations)
           
protected  void addAnnotations(JRealClassType type, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations)
           
protected  void addImplementedInterface(JRealClassType type, JClassType intf)
           
protected  void addModifierBits(JAbstractMethod method, int modifierBits)
           
protected  void addModifierBits(JField jfield, int modifierBits)
           
protected  void addThrows(JAbstractMethod method, JType exception)
           
protected  void finish()
           
protected  JAnnotationMethod newAnnotationMethod(JRealClassType enclosingType, java.lang.String name, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations, JTypeParameter[] jtypeParameters, java.lang.Object defaultValue)
           
protected  JAnnotationType newAnnotationType(JPackage pkg, java.lang.String enclosingTypeName, java.lang.String className)
           
protected  JConstructor newConstructor(JRealClassType type, java.lang.String name, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations, JTypeParameter[] typeParams)
           
protected  JEnumConstant newEnumConstant(JRealClassType type, java.lang.String name, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations, int ordinal)
           
protected  JEnumType newEnumType(JPackage pkg, java.lang.String enclosingTypeName, java.lang.String className)
           
protected  JField newField(JRealClassType type, java.lang.String name, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations)
           
protected  JMethod newMethod(JClassType type, java.lang.String name, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations, JTypeParameter[] typeParams)
           
protected  void newParameter(JAbstractMethod method, JType argType, java.lang.String argName, java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations, boolean argNamesAreReal)
           
protected  JRealClassType newRealClassType(JPackage pkg, java.lang.String enclosingTypeName, java.lang.String className, boolean isIntf)
           
protected  void setEnclosingType(JRealClassType type, JClassType enclosingType)
           
protected  void setFieldType(JField jfield, JType fieldType)
           
protected  void setReturnType(JAbstractMethod method, JType returnType)
           
protected  void setSuperClass(JRealClassType type, JClassType superType)
           
protected  void setVarArgs(JAbstractMethod method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeOracle

protected final TypeOracle typeOracle
The TypeOracle being built.

Constructor Detail

TypeOracleBuilder

public TypeOracleBuilder()
Method Detail

addAnnotations

protected void addAnnotations(JPackage pkg,
                              java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations)

addAnnotations

protected void addAnnotations(JRealClassType type,
                              java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations)

addImplementedInterface

protected void addImplementedInterface(JRealClassType type,
                                       JClassType intf)

addModifierBits

protected void addModifierBits(JAbstractMethod method,
                               int modifierBits)

addModifierBits

protected void addModifierBits(JField jfield,
                               int modifierBits)

addThrows

protected void addThrows(JAbstractMethod method,
                         JType exception)

finish

protected void finish()

newAnnotationMethod

protected JAnnotationMethod newAnnotationMethod(JRealClassType enclosingType,
                                                java.lang.String name,
                                                java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations,
                                                JTypeParameter[] jtypeParameters,
                                                java.lang.Object defaultValue)

newAnnotationType

protected JAnnotationType newAnnotationType(JPackage pkg,
                                            java.lang.String enclosingTypeName,
                                            java.lang.String className)

newConstructor

protected JConstructor newConstructor(JRealClassType type,
                                      java.lang.String name,
                                      java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations,
                                      JTypeParameter[] typeParams)

newEnumConstant

protected JEnumConstant newEnumConstant(JRealClassType type,
                                        java.lang.String name,
                                        java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations,
                                        int ordinal)

newEnumType

protected JEnumType newEnumType(JPackage pkg,
                                java.lang.String enclosingTypeName,
                                java.lang.String className)

newField

protected JField newField(JRealClassType type,
                          java.lang.String name,
                          java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations)

newMethod

protected JMethod newMethod(JClassType type,
                            java.lang.String name,
                            java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations,
                            JTypeParameter[] typeParams)

newParameter

protected void newParameter(JAbstractMethod method,
                            JType argType,
                            java.lang.String argName,
                            java.util.Map<java.lang.Class<? extends java.lang.annotation.Annotation>,java.lang.annotation.Annotation> declaredAnnotations,
                            boolean argNamesAreReal)

newRealClassType

protected JRealClassType newRealClassType(JPackage pkg,
                                          java.lang.String enclosingTypeName,
                                          java.lang.String className,
                                          boolean isIntf)

setEnclosingType

protected void setEnclosingType(JRealClassType type,
                                JClassType enclosingType)

setFieldType

protected void setFieldType(JField jfield,
                            JType fieldType)

setReturnType

protected void setReturnType(JAbstractMethod method,
                             JType returnType)

setSuperClass

protected void setSuperClass(JRealClassType type,
                             JClassType superType)

setVarArgs

protected void setVarArgs(JAbstractMethod method)

GWT 2.1.1