jdeparser 1.0.0.Final-redhat-1

Uses of Class
org.jboss.jdeparser.JClass

Packages that use JClass
org.jboss.jdeparser   
org.jboss.jdeparser.fmt   
org.jboss.jdeparser.util   
 

Uses of JClass in org.jboss.jdeparser
 

Subclasses of JClass in org.jboss.jdeparser
 class JDefinedClass
          A generated Java class/interface/enum/....
 class JNullType
          Special class object that represents the type of "null".
 class JTypeVar
          Type variable used to declare generics.
 

Methods in org.jboss.jdeparser that return JClass
 JClass JTypeVar._extends()
          Returns the class bound of this variable.
 JClass JDefinedClass._extends()
          Returns the class extended by this class.
abstract  JClass JClass._extends()
          Gets the super class of this class.
 JClass JNullType._extends()
           
 JClass JPrimitiveType.array()
           
 JClass JClass.array()
           
abstract  JClass JType.array()
          Create an array type of this type.
 JClass JPrimitiveType.boxify()
          Obtains the wrapper class for this primitive type.
 JClass JClass.boxify()
          Deprecated. calling this method from JClass would be meaningless, since it's always guaranteed to return this.
abstract  JClass JType.boxify()
          If this class is a primitive type, return the boxed class.
 JClass JDeparser.directClass(String name)
          Creates a dummy, unknown JClass that represents a given name.
 JClass JClass.erasure()
           
 JClass JAnnotationUse.getAnnotationClass()
           
 JClass JClass.getBaseClass(Class<?> baseType)
           
 JClass JClass.getBaseClass(JClass baseType)
          Gets the parameterization of the given base type.
 JClass JPrimitiveType.getWrapperClass()
          Deprecated. Use JPrimitiveType.boxify().
 JClass[] JDefinedClass.listClasses()
          Returns all the nested classes defined in this class.
 JClass JDeparser.multiBoundWildcard(JClass... baseTypes)
          Create a wildcard type with multiple bounds.
 JClass JClass.narrow(Class<?>... clazz)
           
 JClass JClass.narrow(Class<?> clazz)
          "Narrows" a generic class to a concrete class by specifying a type argument.
 JClass JClass.narrow(JClass... clazz)
           
 JClass JClass.narrow(JClass clazz)
          "Narrows" a generic class to a concrete class by specifying a type argument.
 JClass JClass.narrow(JType type)
           
 JClass JClass.narrow(List<? extends JClass> clazz)
           
 JClass JDefinedClass.outer()
           
 JClass JClass.outer()
          Returns the class in which this class is nested, or null if this is a top-level class.
 JClass JDeparser.ref(Class<?> clazz)
          Obtains a reference to an existing class from its Class object.
 JClass JDeparser.ref(String fullyQualifiedClassName)
          Obtains a reference to an existing class from its fully-qualified class name.
 JClass JPackage.ref(String name)
          Reference a class within this package.
protected  JClass JTypeVar.substituteParams(JTypeVar[] variables, List<JClass> bindings)
           
protected  JClass JDefinedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings)
           
protected abstract  JClass JClass.substituteParams(JTypeVar[] variables, List<JClass> bindings)
          Substitutes the type variables with their actual arguments.
protected  JClass JNullType.substituteParams(JTypeVar[] variables, List<JClass> bindings)
           
 JClass JClass.superWildcard()
          Create "? super T" from T
 JClass JDeparser.wildcard()
          Gets a JClass representation for "?", which is equivalent to "? extends Object".
 JClass JClass.wildcard()
          Create "? extends T" from T.
 

Methods in org.jboss.jdeparser that return types with arguments of type JClass
 Iterator<JClass> JTypeVar._implements()
          Returns the interface bounds of this variable.
 Iterator<JClass> JDefinedClass._implements()
          Returns an iterator that walks the nested classes defined in this class.
abstract  Iterator<JClass> JClass._implements()
          Iterates all super interfaces directly implemented by this class/interface.
 Iterator<JClass> JNullType._implements()
           
 List<JClass> JClass.getTypeParameters()
          If this class is parameterized, return the type parameter of the given index.
 

Methods in org.jboss.jdeparser with parameters of type JClass
 JCatchBlock JTryBlock._catch(JClass exception)
           
 JDefinedClass JDefinedClass._extends(JClass superClass)
          This class extends the specifed class.
 JDefinedClass JDefinedClass._implements(JClass iface)
          This class implements the specifed interface.
static JInvocation JExpr._new(JClass c)
           
 JMethod JMethod._throws(JClass exception)
          Add an exception to the list of exceptions that this method may throw.
 JCommentPart JDocComment.addThrows(JClass exception)
          add an @throws tag to the javadoc
 JAnnotationUse JAnnotationArrayMember.annotate(JClass clazz)
          Adds a new annotation to the array.
 JAnnotationUse JAnnotatable.annotate(JClass clazz)
          Adds an annotation to this program element.
 JAnnotationUse JDefinedClass.annotate(JClass clazz)
          Adding ability to annotate a class
 JAnnotationUse JMethod.annotate(JClass clazz)
          Adds an annotation to this variable.
 JAnnotationUse JVar.annotate(JClass clazz)
          Adds an annotation to this variable.
 JAnnotationUse JEnumConstant.annotate(JClass clazz)
          Adds an annotation to this variable.
 JAnnotationUse JPackage.annotate(JClass clazz)
           
 JDefinedClass JDeparser.anonymousClass(JClass baseType)
          Creates a new anonymous class.
 JTypeVar JTypeVar.bound(JClass c)
          Adds a bound to this variable.
static JExpression JExpr.dotclass(JClass cl)
           
static JExpression JExpr.dotsuper(JClass cl)
           
static JExpression JExpr.dotthis(JClass cl)
           
 JTypeVar JGenerifiable.generify(String name, JClass bound)
          Adds a new type variable to this declaration with a bound.
 JTypeVar JDefinedClass.generify(String name, JClass bound)
           
 JClass JClass.getBaseClass(JClass baseType)
          Gets the parameterization of the given base type.
 boolean JClass.isAssignableFrom(JClass derived)
          Checks the relationship between two classes.
 JClass JDeparser.multiBoundWildcard(JClass... baseTypes)
          Create a wildcard type with multiple bounds.
 JClass JClass.narrow(JClass... clazz)
           
 JClass JClass.narrow(JClass clazz)
          "Narrows" a generic class to a concrete class by specifying a type argument.
 JDefinedClass JDeparser.newAnonymousClass(JClass baseType)
          Deprecated. The naming convention doesn't match the rest of the JDeparser. Use JDeparser.anonymousClass(JClass) instead.
 void JPackage.remove(JClass c)
          Removes a class from this package.
 JInvocation JBlock.staticInvoke(JClass type, String method)
          Creates a static invocation statement.
 JFormatter JFormatter.t(JClass type)
          Print a type name.
 

Method parameters in org.jboss.jdeparser with type arguments of type JClass
 JClass JClass.narrow(List<? extends JClass> clazz)
           
protected  JClass JTypeVar.substituteParams(JTypeVar[] variables, List<JClass> bindings)
           
protected  JClass JDefinedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings)
           
protected abstract  JClass JClass.substituteParams(JTypeVar[] variables, List<JClass> bindings)
          Substitutes the type variables with their actual arguments.
protected  JClass JNullType.substituteParams(JTypeVar[] variables, List<JClass> bindings)
           
 

Uses of JClass in org.jboss.jdeparser.fmt
 

Methods in org.jboss.jdeparser.fmt that return JClass
 JClass JStaticJavaFile.getJClass()
          Returns a class object that represents a statically generated code.
 

Uses of JClass in org.jboss.jdeparser.util
 

Fields in org.jboss.jdeparser.util with type parameters of type JClass
static Comparator<JClass> ClassNameComparator.theInstance
           
 

Methods in org.jboss.jdeparser.util with parameters of type JClass
 int ClassNameComparator.compare(JClass l, JClass r)
           
 


jdeparser 1.0.0.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.