abstract
.abstract
.T
.T
, using the given Class
as the annotation type.T
, using the given String
className as the annotation
type.AnnotationElementSource
to this JavaAnnotationSource
instance.AnnotationElementSource
declaration to this JavaAnnotationSource
instance, using the given
String
as the declaration.EnumConstant
EnumConstant
using the given declaration.Field
to this O
instance.Class
type.Import
type.JavaType
type.MethodSource
declaration to this O
instance.MethodSource
declaration to this O
instance, using the given String
as the
method declaration.Property
declaration to this O
instance.Exception
to this method's signature.Exception
to this method's signature.JavaAnnotation
.AnnotationElement
.JavaAnnotationSource
.AnnotationElementSource
and provides mechanisms to set that value.JavaSource
instance.JavaSource
instance.Refactory#createHashCodeAndEquals(JavaClass, Field...)
instead, since this method relies
on the existence of the id fieldJavaEnum
.EnumConstant
.JavaEnumSource
.EnumConstantSource
.JavaType
that can extend other types (Java inheritance and interfaces).JavaSource
that can extend other types (Java inheritance and interfaces).JavaType
that may contain field definitions.JavaSource
that may contain field definitions.AnnotationElement
with the given name and return it, otherwise, return null.AnnotationElementSource
with the given name and return it, otherwise, return null.AnnotationElement
s declared by this JavaAnnotation
, or return an empty
list if no AnnotationElement
s are declared.AnnotationElementSource
s declared by this JavaAnnotation
, or return an empty
list if no AnnotationElementSource
s are declared.Body
of this enum constant.Method
T
instance.JavaType
type in which this class is defined.EnumConstant
with the given name, or return null if no such constant exists.EnumConstant
with the given name, or return null if no such constant exists.EnumConstant
types for this JavaEnum
EnumConstant
types for this JavaEnum
Field
with the given name and return it, otherwise, return null.Field
with the given name and return it, otherwise, return null.Import
for the given fully-qualified class name, if it exists; otherwise, return null;Import
for the given T
type, if it exists; otherwise, return null;Import
s currently imported by this O
this
.Method
with the given name and zero parameters; otherwise return null.Method
with the given name and signature types; otherwise return null.Method
with the given name and signature types; otherwise return null.MethodSource
with the given name and zero parameters; otherwise return null.MethodSource
with the given name and signature types; otherwise return null.MethodSource
with the given name and signature types; otherwise return null.List
of all MethodSource
s declared by this O
instance, if any; otherwise, return an
empty List
T
instance.T
, or return null if it is in the default package.Method
's parameters.Method
's parameters.Properties
declared by this O
, or return an empty list if no Properties
are declared.Property
with the given name and return it, otherwise, return null.T
instance, where the qualified-name contains both the Java package and
simple class name of the type represented by this T
instance.SyntaxError
s detected in the current T
.Exception
class names thrown by this method.Type
.Type
.Type
.TypeVariable
.JavaAnnotation
declares an AnnotationElement
with the given
name.JavaAnnotation
declares the given AnnotationElement
instance.O
declares a Field
with the given name.O
declares the given Field
instance.Field
.O
has an import for the given Class
type.O
has an import for the given fully-qualified class name.O
has an import for the given T
type.O
has the given Import
type.O
has a method with the given name and zero parameters; otherwise return false.O
has a method with signature matching the given method's signature.O
has a method with the given name and zero parameters; otherwise return false.O
has a method with the given name and signature types; otherwise return false.O
has a method with the given name and signature types; otherwise return false.O
declares a Property
with the given name.O
declares the given Property
instance.T
currently has any SyntaxError
s.JavaSource
.JavaSource
that handles type imports.JavaType
that may implement one or more interfaces.JavaSource
that may implement one or more interfaces.JavaType
represents a JavaAnnotation
Method
is a constructor for the class in which it is defined.T
is in the default package.Method
has a primitive void
return type.@interface
annotation type.@interface
annotation source file as an in-memory modifiable element.class
type.class
source file as an in-memory modifiable element.enum
type.enum
source file as an in-memory modifiable element.interface
type.interface
source file as an in-memory modifiable element.JavaType
member.JavaType
that may declare fields or methods.JavaSource
that may declare fields or methods.JavaSource
member.JavaType
that may declare methods.JavaSource
that may declare methods.JavaType
that may be declared as belonging to a particular Java package
.JavaSource
that may be declared as belonging to a particular Java package
.Method
.MethodSource
.InputStream
and parse the data into a new JavaType
instance.JavaType
instance.JavaType
instance.JavaType
instance of the given type.JavaType
instance of the given type.InputStream
and parse its data into a new JavaType
instance of the given type.InputStream
and parse the data into a new JavaType
instance.Property
is a convenience construct depicting a simple Java bean property.JavaType
that may contain property definitions.JavaSource
that may contain PropertySource
definitions.Property
interface.JavaClassSource
objectsAnnotationElement
from this JavaAnnotationSource
instance, if it exists;
otherwise, do nothing.EnumConstantSource.Body
of this enum constant.Field
from this O
instance, if it exists; otherwise, do nothing.Import
for the given fully-qualified class name, if it exists; otherwise, do nothing;Import
for the given T
type, if it exists; otherwise, do nothing;Import
from this O
instance, if it exists; otherwise, do nothing;MethodSource
declaration from this O
instance, if it exists; otherwise, do
nothing.Property
from this O
instance, if it exists; otherwise, do nothing.Exception
to this method's signature.Exception
to this method's signature.O
would require an import to reference the given Class
type.O
would require an import to reference the given fully-qualified class name.JavaType
instances.Method
T
to be in the default package (removes any current package declaration.)T
instance.T
' package.Method
's parameters.Method
to return the given type.Method
to return the given type.Method
to return 'void'AnnotationElement
to the given Class
type.AnnotationElement
to the given type.AnnotationElement
to the given JavaSource>
type.Field
to the given type.Field
to the given JavaSource>
type.Property
to the given type.Property
to the given JavaType>
type.JavaClass
.Method
into a string representing its unique signature.GenericCapable
JavaType
.GenericCapableSource
JavaSource
.Copyright © 2014 JBoss by Red Hat. All rights reserved.