Uses of Class
org.mule.devkit.model.code.TypeReference

Packages that use TypeReference
org.mule.devkit.model.code Library for generating Java source code 
org.mule.devkit.model.code.fmt   
org.mule.devkit.model.code.util   
 

Uses of TypeReference in org.mule.devkit.model.code
 

Subclasses of TypeReference in org.mule.devkit.model.code
 class GeneratedClass
          A generated Java class/interface/enum/....
 class NullType
          Special class object that represents the type of "null".
 class TypeVariable
          Type variable used to declare generics.
 

Methods in org.mule.devkit.model.code that return TypeReference
 TypeReference TypeVariable._extends()
          Returns the class bound of this variable.
abstract  TypeReference TypeReference._extends()
          Gets the super class of this class.
 TypeReference NullType._extends()
           
 TypeReference GeneratedClass._extends()
          Returns the class extended by this class.
 TypeReference TypeReference.array()
           
abstract  TypeReference Type.array()
          Create an array type of this type.
 TypeReference PrimitiveType.array()
           
 TypeReference TypeReference.array(GeneratedExpression size)
           
 TypeReference TypeReference.boxify()
          Deprecated. calling this method from TypeReference would be meaningless, since it's always guaranteed to return this.
abstract  TypeReference Type.boxify()
          If this class is a primitive type, return the boxed class.
 TypeReference PrimitiveType.boxify()
          Obtains the wrapper class for this primitive type.
 TypeReference CodeModel.directClass(String name)
          Creates a dummy, unknown TypeReference that represents a given name.
 TypeReference TypeReference.erasure()
           
 TypeReference GeneratedAnnotationUse.getAnnotationClass()
           
 TypeReference TypeReference.getBaseClass(Class<?> baseType)
           
 TypeReference TypeReference.getBaseClass(TypeReference baseType)
          Gets the parameterization of the given base type.
 TypeReference PrimitiveType.getWrapperClass()
          Deprecated. Use PrimitiveType.boxify().
 TypeReference[] GeneratedClass.listClasses()
          Returns all the nested classes defined in this class.
 TypeReference TypeReference.narrow(Class<?>... clazz)
           
 TypeReference TypeReference.narrow(Class<?> clazz)
          "Narrows" a generic class to a concrete class by specifying a type argument.
 TypeReference TypeReference.narrow(List<? extends TypeReference> clazz)
           
 TypeReference TypeReference.narrow(String generify)
           
 TypeReference TypeReference.narrow(Type type)
           
 TypeReference TypeReference.narrow(TypeReference... clazz)
           
 TypeReference TypeReference.narrow(TypeReference clazz)
          "Narrows" a generic class to a concrete class by specifying a type argument.
 TypeReference TypeReference.outer()
          Returns the class in which this class is nested, or null if this is a top-level class.
 TypeReference GeneratedClass.outer()
           
 TypeReference CodeModel.ref(Class<?> clazz)
          Obtains a reference to an existing class from its Class object.
 TypeReference GeneratedPackage.ref(String name)
          Reference a class within this package.
protected  TypeReference TypeVariable.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
           
protected abstract  TypeReference TypeReference.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
          Substitutes the type variables with their actual arguments.
protected  TypeReference NullType.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
           
protected  TypeReference GeneratedClass.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
           
 TypeReference TypeReference.wildcard()
          Create "? extends T" from T.
 TypeReference CodeModel.wildcard()
          Gets a TypeReference representation for "?", which is equivalent to "? extends Object".
 

Methods in org.mule.devkit.model.code that return types with arguments of type TypeReference
 Iterator<TypeReference> TypeVariable._implements()
          Returns the interface bounds of this variable.
abstract  Iterator<TypeReference> TypeReference._implements()
          Iterates all super interfaces directly implemented by this class/interface.
 Iterator<TypeReference> NullType._implements()
           
 Iterator<TypeReference> GeneratedClass._implements()
          Returns an iterator that walks the nested classes defined in this class.
 List<TypeReference> TypeReference.getTypeParameters()
          If this class is parameterized, return the type parameter of the given index.
 

Methods in org.mule.devkit.model.code with parameters of type TypeReference
 GeneratedCatchBlock GeneratedTry._catch(TypeReference exception)
           
 GeneratedClass GeneratedPackage._class(int modifiers, String name, TypeReference _extends)
          Adds a public class to this package.
 GeneratedClass GeneratedPackage._class(String name, TypeReference _extends)
          Adds a public class to this package.
 GeneratedClass GeneratedPackage._class(String name, TypeReference _extends, Class<?>[] _implements)
          Adds a public class to this package.
 GeneratedClass GeneratedClass._extends(TypeReference superClass)
          This class extends the specifed class.
 GeneratedClass GeneratedClass._implements(TypeReference iface)
          This class implements the specifed interface.
static GeneratedInvocation ExpressionFactory._new(TypeReference c)
           
 GeneratedMethod GeneratedMethod._throws(TypeReference exception)
          Add an exception to the list of exceptions that this method may throw.
 CommentPart GeneratedJavaDocComment.addThrows(TypeReference exception)
          add an @throws tag to the javadoc
 GeneratedAnnotationUse GeneratedVariable.annotate(TypeReference clazz)
          Adds an annotation to this variable.
 GeneratedAnnotationUse GeneratedPackage.annotate(TypeReference clazz)
           
 GeneratedAnnotationUse GeneratedMethod.annotate(TypeReference clazz)
          Adds an annotation to this variable.
 GeneratedAnnotationUse GeneratedClass.annotate(TypeReference clazz)
          Adding ability to annotate a class
 GeneratedAnnotationUse EnumConstant.annotate(TypeReference clazz)
          Adds an annotation to this variable.
 GeneratedAnnotationUse AnnotationArrayMember.annotate(TypeReference clazz)
          Adds a new annotation to the array.
 GeneratedAnnotationUse Annotable.annotate(TypeReference clazz)
          Adds an annotation to this program element.
 GeneratedClass CodeModel.anonymousClass(TypeReference baseType)
          Creates a new anonymous class.
 TypeVariable TypeVariable.bound(TypeReference c)
          Adds a bound to this variable.
 TypeVariable Generifiable.generify(String name, TypeReference bound)
          Adds a new type variable to this declaration with a bound.
 TypeVariable GeneratedClass.generify(String name, TypeReference bound)
           
 TypeReference TypeReference.getBaseClass(TypeReference baseType)
          Gets the parameterization of the given base type.
 boolean TypeReference.isAssignableFrom(TypeReference derived)
          Checks the relationship between two classes.
 TypeReference TypeReference.narrow(TypeReference... clazz)
           
 TypeReference TypeReference.narrow(TypeReference clazz)
          "Narrows" a generic class to a concrete class by specifying a type argument.
 GeneratedClass CodeModel.newAnonymousClass(TypeReference baseType)
          Deprecated. The naming convention doesn't match the rest of the CodeModel. Use CodeModel.anonymousClass(TypeReference) instead.
 void GeneratedPackage.remove(TypeReference c)
          Removes a class from this package.
 GeneratedInvocation GeneratedBlock.staticInvoke(TypeReference type, String method)
          Creates a static invocation statement.
 Formatter Formatter.t(TypeReference type)
          Print a type name.
 

Method parameters in org.mule.devkit.model.code with type arguments of type TypeReference
 TypeReference TypeReference.narrow(List<? extends TypeReference> clazz)
           
protected  TypeReference TypeVariable.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
           
protected abstract  TypeReference TypeReference.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
          Substitutes the type variables with their actual arguments.
protected  TypeReference NullType.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
           
protected  TypeReference GeneratedClass.substituteParams(TypeVariable[] variables, List<TypeReference> bindings)
           
 

Uses of TypeReference in org.mule.devkit.model.code.fmt
 

Methods in org.mule.devkit.model.code.fmt that return TypeReference
 TypeReference StaticJavaFile.getJClass()
          Returns a class object that represents a statically generated code.
 

Uses of TypeReference in org.mule.devkit.model.code.util
 

Fields in org.mule.devkit.model.code.util with type parameters of type TypeReference
static Comparator<TypeReference> ClassNameComparator.theInstance
           
 

Methods in org.mule.devkit.model.code.util with parameters of type TypeReference
 int ClassNameComparator.compare(TypeReference l, TypeReference r)
           
 



Copyright © 2010–2014 MuleSoft, Inc.. All rights reserved.