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) classFields in org.jboss.jdeparser declared as JTypeModifier and TypeFieldDescriptionprivate JTypeAbstractJClassDef._extendsprivate final JType[]NarrowedJType.argsstatic final JTypeJType.BOOLEANThebooleanprimitive type.static final JTypeJType.BYTEThebyteprimitive type.static final JTypeJType.CHARThecharprimitive type.static final JTypeJType.DOUBLEThedoubleprimitive type.private JTypeAbstractJClassDef.erasedstatic final JTypeJType.FLOATThefloatprimitive type.private JTypeAbstractJClassDef.genericstatic final JTypeJType.INTTheintprimitive type.static final JTypeJType.LONGThelongprimitive type.static final JType[]JType.NONEAn empty array of types.static final JTypeJType.OBJECTThe type ofjava.lang.Object.private final JTypeMethodJMethodDef.returnTypestatic final JTypeJType.SHORTTheshortprimitive type.static final JTypeJType.THISA special type that always renders to the type of the class it is encountered in.private final JTypeCastJExpr.typeprivate final JTypeFirstJVarDeclaration.typeprivate final JTypeForEachJBlock.typeprivate final JTypeImplJAnnotation.typeprivate final JTypeImplJAnnotationArray.typeprivate final JTypeImplJAnonymousClassDef.typeprivate final JTypeImplJParamDeclaration.typeprivate final JTypeInstanceOfJExpr.typeprivate final JTypeJLambdaImpl.Param.typeprivate final JTypeJTypeCommentContent.typestatic final JTypeJType.VOIDThevoidtype.static final JTypeJType.WILDCARDThe wildcard type of<? extends Object>, also known as<?>.Fields in org.jboss.jdeparser with type parameters of type JTypeModifier and TypeFieldDescriptionImplJTypeParamDef._extendsAbstractJClassDef._implementsImplJTypeParamDef._super(package private) static final ThreadLocal<LinkedHashMap<String, JType>> JTypes.cacheImplJCatch.typesMethods in org.jboss.jdeparser that return JTypeModifier and TypeMethodDescriptionGet a nested type within this reference type.static JTypeReturn the type corresponding to the given class.static JTypeReturn a type corresponding to a class with the given name.static JTypeReturn 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) JTypeAbstractJClassDef.getExtends()(package private) JTypeMethodJMethodDef.getReturnType()(package private) JTypeCastJExpr.getType()(package private) JTypeInstanceOfJExpr.getType()JLambdaImpl.Param.getType()(package private) JTypeJTypeCommentContent.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 JTypeReturn a type corresponding to a class with the given name.static JTypeReturn the type corresponding to the given class.static JTypeJTypes.typeOf(TypeMirror typeMirror) Get aJTypethat corresponds to the givenTypeMirrorfor annotation processors.static JTypeReturn 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 acatchblock.Add anextendstype to this type.Add anextendsbound to this parameter.AbstractJClassDef._implements(JType... types) AnnotationJClassDef._implements(JType... types) ImplJAnonymousClassDef._implements(JType... types) JClassDef._implements(JType... type) Add one or moreimplementstype(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 theinstanceofoperator.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 asuperbound to this parameter.Add a@throwstag.Get a@throwsdoc 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 JCallJExprs.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 JVarDeclarationfinal JVarDeclarationAbstractJClassDef.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" styleforloop at this point.Add acatchfor 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@linkto a constructor.Add an inline@linkto 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@linkto a method.Add an inline@linkto a type.final JMethodDefAbstractJClassDef.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 ReferenceJTypeAdd 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@valueinline tag.Add a@valueinline 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) voidMethod parameters in org.jboss.jdeparser with type arguments of type JTypeModifier and TypeMethodDescriptionprivate voidImplJTypeParamDef.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)