Uses of Interface
org.jboss.jdeparser.JType
-
Uses of JType in org.jboss.jdeparser
Classes in org.jboss.jdeparser that implement JTypeModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
(package private) class
Fields in org.jboss.jdeparser declared as JTypeModifier and TypeFieldDescriptionprivate JType
AbstractJClassDef._extends
private final JType[]
NarrowedJType.args
static final JType
JType.BOOLEAN
Theboolean
primitive type.static final JType
JType.BYTE
Thebyte
primitive type.static final JType
JType.CHAR
Thechar
primitive type.static final JType
JType.DOUBLE
Thedouble
primitive type.private JType
AbstractJClassDef.erased
static final JType
JType.FLOAT
Thefloat
primitive type.private JType
AbstractJClassDef.generic
static final JType
JType.INT
Theint
primitive type.static final JType
JType.LONG
Thelong
primitive type.static final JType[]
JType.NONE
An empty array of types.static final JType
JType.OBJECT
The type ofjava.lang.Object
.private final JType
MethodJMethodDef.returnType
static final JType
JType.SHORT
Theshort
primitive type.static final JType
JType.THIS
A special type that always renders to the type of the class it is encountered in.private final JType
CastJExpr.type
private final JType
FirstJVarDeclaration.type
private final JType
ForEachJBlock.type
private final JType
ImplJAnnotation.type
private final JType
ImplJAnnotationArray.type
private final JType
ImplJAnonymousClassDef.type
private final JType
ImplJParamDeclaration.type
private final JType
InstanceOfJExpr.type
private final JType
JLambdaImpl.Param.type
private final JType
JTypeCommentContent.type
static final JType
JType.VOID
Thevoid
type.static final JType
JType.WILDCARD
The wildcard type of<? extends Object>
, also known as<?>
.Fields in org.jboss.jdeparser with type parameters of type JTypeModifier and TypeFieldDescriptionImplJTypeParamDef._extends
AbstractJClassDef._implements
ImplJTypeParamDef._super
(package private) static final ThreadLocal<LinkedHashMap<String,
JType>> JTypes.cache
ImplJCatch.types
Methods in org.jboss.jdeparser that return JTypeModifier and TypeMethodDescriptionGet a nested type within this reference type.static JType
Return the type corresponding to the given class.static JType
Return a type corresponding to a class with the given name.static JType
Return the erased type of a class definition.AbstractJType.array()
JType.array()
An array of this type.WildcardJType.array()
AbstractJType.box()
JType.box()
The primitive-boxed version of this type.PrimitiveJType.box()
private static JType[]
AbstractJType.elementType()
ArrayJType.elementType()
JType.elementType()
The element type, if this an array (otherwisenull
).AbstractJClassDef.erasedType()
ImplJAnonymousClassDef.erasedType()
JClassDef.erasedType()
Get the erased type corresponding to this type definition.AbstractJType.erasure()
JType.erasure()
The erasure of this type.NarrowedJType.erasure()
AbstractJClassDef.genericType()
ImplJAnonymousClassDef.genericType()
JClassDef.genericType()
Get a generic type for this type definition, where the type arguments are the same as the type parameters of this type (as defined at the time this method is called).(package private) JType
AbstractJClassDef.getExtends()
(package private) JType
MethodJMethodDef.getReturnType()
(package private) JType
CastJExpr.getType()
(package private) JType
InstanceOfJExpr.getType()
JLambdaImpl.Param.getType()
(package private) JType
JTypeCommentContent.getType()
AbstractJType.nestedType
(String name) JType.nestedType
(String name) Get a nested type within this reference type.NarrowedJType.nestedType
(String name) NestedJType.nestedType
(String name) ReferenceJType.nestedType
(String name) FirstJVarDeclaration.type()
ImplJAnonymousClassDef.type()
ImplJParamDeclaration.type()
JParamDeclaration.type()
Get the parameter type.JVarDeclaration.type()
Get the variable type.SuccessorJVarDeclaration.type()
This type, with the given generic type arguments.This type, with the given generic type arguments.This type, with the given generic type arguments.JType[]
AbstractJType.typeArgs()
JType[]
JType.typeArgs()
Get the type arguments of this type.JType[]
NarrowedJType.typeArgs()
JType[]
AbstractJCall.typeArguments()
JType[]
JCall.typeArguments()
Get the type arguments defined thus far.static JType
Return a type corresponding to a class with the given name.static JType
Return the type corresponding to the given class.static JType
JTypes.typeOf
(TypeMirror typeMirror) Get aJType
that corresponds to the givenTypeMirror
for annotation processors.static JType
Return the erased type of a class definition.(package private) JType[]
AbstractJGeneric.typeParamsToArgs()
AbstractJType.unbox()
JType.unbox()
The primitive-unboxed version of this type.ReferenceJType.unbox()
AbstractJType.wildcardExtends()
JType.wildcardExtends()
Get a wildcard that extends this type.WildcardJType.wildcardExtends()
AbstractJType.wildcardSuper()
JType.wildcardSuper()
Get a wildcard that this type extends.WildcardJType.wildcardSuper()
Methods in org.jboss.jdeparser that return types with arguments of type JTypeModifier and TypeMethodDescriptionImplJTypeParamDef.getExtends()
AbstractJClassDef.getImplements()
ImplJTypeParamDef.getSuper()
ImplJCatch.getTypes()
Methods in org.jboss.jdeparser with parameters of type JTypeModifier and TypeMethodDescriptionAdd acatch
block.Add anextends
type to this type.Add anextends
bound to this parameter.AbstractJClassDef._implements
(JType... types) AnnotationJClassDef._implements
(JType... types) ImplJAnonymousClassDef._implements
(JType... types) JClassDef._implements
(JType... type) Add one or moreimplements
type(s) to this type.Add a type import to this source file.AbstractJExpr._instanceof
(JType type) JExpr._instanceof
(JType type) Get a type-testing expression using theinstanceof
operator.Insert an object construction statement at this point.Get an expression to construct a new inner class instance of this instance expression.Insert an object construction statement for an anonymous class at this point.Construct a new anonymous subclass of the given type, which must be an inner class of the type of this expression.Add asuper
bound to this parameter.Add a@throws
tag.Get a@throws
doc comment block.Add an annotation.ImplJAnnotation.annotationArrayValue
(String name, JType type) ImplJAnnotation.annotationArrayValue
(JType type) JAnnotation.annotationArrayValue
(String name, JType type) Set the named property of this annotation to an array of nested annotations of the given type.JAnnotation.annotationArrayValue
(JType type) Set the "value" property of this annotation to an array of nested annotations of the given type.ImplJAnnotation.annotationValue
(String name, JType type) ImplJAnnotation.annotationValue
(JType type) JAnnotation.annotationValue
(String name, JType type) Set the named property of this annotation to a nested annotation of the given type.JAnnotation.annotationValue
(JType type) Set the "value" property of this annotation to a nested annotation of the given type.BasicJBlock.callStatic
(JType type, String name) JBlock.callStatic
(JType type, String name) Insert a type-qualified static method invocation at this point.static JCall
JExprs.callStatic
(JType type, String name) Generate a method call expression to a method on the given static type.Get an expression which is a cast of this expression to the given type.private static JType[]
final JVarDeclaration
final JVarDeclaration
AbstractJClassDef.field
(ArrayList<ClassContent> content, int mods, JType type, String name, JExpr init) Add a field to this type.Add a field to this type.Insert a "for-each" stylefor
loop at this point.Add acatch
for an ignored exception.ImplJSourceFile.importStatic
(JType type, String member) JSourceFile.importStatic
(JType type, String member) Add a static member import to this source file.Add a loop initializer.AbstractJComment.linkConstructor
(boolean plain, JType targetType, JType... params) JComment.linkConstructor
(boolean plain, JType targetType, JType... targetConstructorArgumentTypes) Add an inline@link
to a constructor.Add an inline@link
to a field of a type.AbstractJComment.linkMethod
(boolean plain, JType targetType, String targetMethod, JType... params) JComment.linkMethod
(boolean plain, JType targetType, String targetMethod, JType... targetMethodArgumentTypes) Add an inline@link
to a method.Add an inline@link
to a type.final JMethodDef
AbstractJClassDef.method
(ArrayList<ClassContent> content, int mods, JType returnType, String name) AnnotationJClassDef.method
(ArrayList<ClassContent> content, int mods, JType returnType, String name) Add a method to this type.Sectionable.method
(ArrayList<ClassContent> content, int mods, JType returnType, String name) (package private) static AbstractJType
(package private) static ReferenceJType
Add another type option to this catch branch.Add a declared-type parameter to this lambda.Add a parameter to this method.Add a parameter to this method.Insert a local variable declaration at this point with a generated name.Add a type argument to this call.This type, with the given generic type arguments.Add a type name to the end of this comment.Add a type name to the end of this comment.Add a type name to the end of this comment.Add a@value
inline tag.Add a@value
inline tag.Insert a local variable declaration at this point.Insert a local variable declaration at this point.AbstractJMethodDef.varargParam
(int mods, JType type, String name) AbstractJMethodDef.varargParam
(JType type, String name) AnnotationJMethodDef.varargParam
(int mods, JType type, String name) JMethodDef.varargParam
(int mods, JType type, String name) Add a vararg parameter to this method.JMethodDef.varargParam
(JType type, String name) Add a vararg parameter to this method.Add a resource fortry
-with-resources constructs.(package private) void
Method parameters in org.jboss.jdeparser with type arguments of type JTypeModifier and TypeMethodDescriptionprivate void
ImplJTypeParamDef.writeList
(SourceFileWriter sourceFileWriter, ArrayList<JType> list, Tokens.$KW keyword) Constructors in org.jboss.jdeparser with parameters of type JTypeModifierConstructorDescription(package private)
AnnotationJMethodDef
(AbstractJClassDef enclosingClass, int mods, JType returnType, String name) (package private)
CastJExpr
(AbstractJExpr expr, JType type) (package private)
FirstJVarDeclaration
(int mods, JType type, String name, JExpr value) (package private)
ForEachJBlock
(BasicJBlock parent, int mods, JType type, String name, JExpr iterable) (package private)
ImplJAnnotation
(JType type) (package private)
ImplJAnnotationArray
(JType type) (package private)
ImplJAnonymousClassDef
(JType type) (package private)
ImplJCatch
(ImplJTry _try, int mods, JType type, String var) (package private)
ImplJParamDeclaration
(int mods, JType type, String name) (package private)
InnerJAnonymousClassDef
(AbstractJExpr expr, JType type) (package private)
InnerNewJCall
(AbstractJExpr target, JType type) (package private)
InstanceOfJExpr
(AbstractJExpr expr, JType type) (package private)
JTypeCommentContent
(JType type) (package private)
MethodJMethodDef
(AbstractJClassDef clazz, int mods, JType returnType, String name) NarrowedJType
(AbstractJType erased, JType[] args) (package private)
TryJVarDeclaration
(int mods, JType type, String name, JExpr value, ImplJTry owner)