Uses of Class
org.jboss.jdeparser.JClass
Packages that use JClass
-
Uses of JClass in org.jboss.jdeparser
Subclasses of JClass in org.jboss.jdeparserModifier and TypeClassDescription(package private) classAnonymous class quick hack.(package private) final classArray class.classA generated Java class/interface/enum/....private classReferences to existing classes.(package private) final classA specialJClassthat represents an unknown class (except its name.)(package private) final classRepresents a wildcard type like "? extends Foo" or "? super Foo".(package private) classRepresents X<Y>.final classSpecial class object that represents the type of "null".(package private) final classRepresents a wildcard type like "? super Foo".final classType variable used to declare generics.Fields in org.jboss.jdeparser declared as JClassModifier and TypeFieldDescriptionprivate JClassJClass.arrayClassprivate JClassJPrimitiveType.arrayClassprivate final JClassJAnonymousClass.baseBase interface/class from which this anonymous class is built.(package private) final JClassJNarrowedClass.basisA generic class with type parameters.private final JClass[]JExtendsWildcard.boundsprivate final JClassJExpr.DotRef.clprivate final JClassJAnnotationUse.clazzTheAnnotationclass(package private) JClassJCatchBlock.exceptionprivate final JClassJSuperWildcard.primaryBoundprivate JClassJDefinedClass.superClassName of the super class of this class.private JClassJDeparser.wildcardCached forJDeparser.wildcard().private final JClassJPrimitiveType.wrapperClassCorresponding wrapper class.Fields in org.jboss.jdeparser with type parameters of type JClassModifier and TypeFieldDescriptionJMethod._throwsSet of exceptions that this method may throw.JNarrowedClass.argsArguments to those parameters.private final Map<JClass, JCommentPart> JDocComment.atThrowslist of @throws tagsJTypeVar.boundsJFormatter.ReferenceList.classesJFormatter.importedClassesset of imported types (including package java types, eventhough we won't generate imports for them)JDefinedClass.interfacesList of interfaces that this class implementsMethods in org.jboss.jdeparser that return JClassModifier and TypeMethodDescriptionJArrayClass._extends()abstract JClassJClass._extends()Gets the super class of this class.JDefinedClass._extends()Returns the class extended by this class.JDeparser.JReferencedClass._extends()JDirectClass._extends()JExtendsWildcard._extends()Returns the class bound of this variable.JNarrowedClass._extends()JNullType._extends()JSuperWildcard._extends()JTypeVar._extends()Returns the class bound of this variable.JClass.array()JPrimitiveType.array()abstract JClassJType.array()Create an array type of this type.JClass.boxify()Deprecated.JPrimitiveType.boxify()Obtains the wrapper class for this primitive type.abstract JClassJType.boxify()If this class is a primitive type, return the boxed class.JDeparser.directClass(String name) Creates a dummy, unknownJClassthat represents a given name.JClass.erasure()JNarrowedClass.erasure()JAnnotationUse.getAnnotationClass()final JClassJClass.getBaseClass(Class<?> baseType) final JClassJClass.getBaseClass(JClass baseType) Gets the parameterization of the given base type.JPrimitiveType.getWrapperClass()Deprecated.final JClass[]JDefinedClass.listClasses()Returns all the nested classes defined in this class.JDeparser.multiBoundWildcard(JClass... baseTypes) Create a wildcard type with multiple bounds."Narrows" a generic class to a concrete class by specifying a type argument."Narrows" a generic class to a concrete class by specifying a type argument.JClass.outer()Returns the class in which this class is nested, or null if this is a top-level class.JDefinedClass.outer()JDeparser.JReferencedClass.outer()private JClassJDeparser.TypeNameParser.parseArguments(JClass rawType) Parses '<T1,T2,...,Tn>'private JClassJDeparser.TypeNameParser.parseSuffix(JClass clazz) Parses additional left-associative suffixes, like type arguments and array specifiers.(package private) JClassJDeparser.TypeNameParser.parseTypeName()Parses a type name token T (which can be potentially of the form Tr&ly;T1,T2,...>, or "? extends/super T".)Obtains a reference to an existing class from its Class object.Obtains a reference to an existing class from its fully-qualified class name.Reference a class within this package.protected JClassJArrayClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected abstract JClassJClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) Substitutes the type variables with their actual arguments.protected JClassJDefinedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJDeparser.JReferencedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJDirectClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJExtendsWildcard.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJNarrowedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJNullType.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJSuperWildcard.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJTypeVar.substituteParams(JTypeVar[] variables, List<JClass> bindings) final JClassJClass.superWildcard()Create "? super T" from Tfinal JClassJClass.wildcard()Create "? extends T" from T.JDeparser.wildcard()Gets aJClassrepresentation for "?", which is equivalent to "? extends Object".Methods in org.jboss.jdeparser that return types with arguments of type JClassModifier and TypeMethodDescriptionJArrayClass._implements()JClass._implements()Iterates all super interfaces directly implemented by this class/interface.JDefinedClass._implements()Returns an iterator that walks the nested classes defined in this class.JDeparser.JReferencedClass._implements()JDirectClass._implements()JExtendsWildcard._implements()Returns the interface bounds of this variable.JNarrowedClass._implements()JNullType._implements()JSuperWildcard._implements()JTypeVar._implements()Returns the interface bounds of this variable.JFormatter.ReferenceList.getClasses()JMethod.getThrows()JClass.getTypeParameters()If this class is parameterized, return the type parameter of the given index.JNarrowedClass.getTypeParameters()Methods in org.jboss.jdeparser with parameters of type JClassModifier and TypeMethodDescriptionThis class extends the specifed class.JDefinedClass._implements(JClass iface) This class implements the specifed interface.static JInvocationAdd an exception to the list of exceptions that this method may throw.voidadd an @throws tag to the javadocAdds an annotation to this program element.Adds a new annotation to the array.Adding ability to annotate a classAdds an annotation to this variable.Adds an annotation to this variable.Adds an annotation to this variable.JDeparser.anonymousClass(JClass baseType) Creates a new anonymous class.Adds a bound to this variable.static JExpressionstatic JExpressionstatic JExpressionAdds a new type variable to this declaration with a bound.final JClassJClass.getBaseClass(JClass baseType) Gets the parameterization of the given base type.final booleanJClass.isAssignableFrom(JClass derived) Checks the relationship between two classes.JDeparser.multiBoundWildcard(JClass... baseTypes) Create a wildcard type with multiple bounds."Narrows" a generic class to a concrete class by specifying a type argument.JDeparser.newAnonymousClass(JClass baseType) Deprecated.The naming convention doesn't match the rest of the JDeparser.private JClassJDeparser.TypeNameParser.parseArguments(JClass rawType) Parses '<T1,T2,...,Tn>'private JClassJDeparser.TypeNameParser.parseSuffix(JClass clazz) Parses additional left-associative suffixes, like type arguments and array specifiers.voidRemoves a class from this package.JBlock.staticInvoke(JClass type, String method) Creates a static invocation statement.private booleanJFormatter.supressImport(JClass clazz, JClass c) determine if an import statement should be supressedPrint a type name.Method parameters in org.jboss.jdeparser with type arguments of type JClassModifier and TypeMethodDescriptionprotected JClassJArrayClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected abstract JClassJClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) Substitutes the type variables with their actual arguments.protected JClassJDefinedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJDeparser.JReferencedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJDirectClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJExtendsWildcard.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJNarrowedClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJNullType.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJSuperWildcard.substituteParams(JTypeVar[] variables, List<JClass> bindings) protected JClassJTypeVar.substituteParams(JTypeVar[] variables, List<JClass> bindings) Constructors in org.jboss.jdeparser with parameters of type JClassModifierConstructorDescription(package private)JAnnotationUse(JClass clazz) (package private)JAnonymousClass(JClass _base) (package private)JCatchBlock(JClass exception) (package private)JExtendsWildcard(JClass... bounds) (package private)JInvocation(JClass type, String name) Invokes a static method on a class.(package private)JInvocation(JClass type, JMethod method) (package private)JNarrowedClass(JClass basis, List<JClass> args) (package private)JNarrowedClass(JClass basis, JClass arg) (package private)JSuperWildcard(JClass primaryBound) Constructor parameters in org.jboss.jdeparser with type arguments of type JClass -
Uses of JClass in org.jboss.jdeparser.fmt
Subclasses of JClass in org.jboss.jdeparser.fmtMethods in org.jboss.jdeparser.fmt that return JClassModifier and TypeMethodDescriptionJStaticJavaFile.JStaticClass._extends()final JClassJStaticJavaFile.getJClass()Returns a class object that represents a statically generated code.protected JClassJStaticJavaFile.JStaticClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) Methods in org.jboss.jdeparser.fmt that return types with arguments of type JClassMethod parameters in org.jboss.jdeparser.fmt with type arguments of type JClassModifier and TypeMethodDescriptionprotected JClassJStaticJavaFile.JStaticClass.substituteParams(JTypeVar[] variables, List<JClass> bindings) -
Uses of JClass in org.jboss.jdeparser.util
Fields in org.jboss.jdeparser.util with type parameters of type JClassMethods in org.jboss.jdeparser.util with parameters of type JClass
JClasswould be meaningless, since it's always guaranteed to return this.