- generateParameterNames(Class<?>[]) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
Generate the parameter names for given parameter types
- GenericCapable<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java element that may define type variables.
- GenericCapableSource<O extends JavaSource<O>,T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java source element that may define type variables.
- getAccessor() - Method in interface org.jboss.forge.roaster.model.Property
-
Get this property's accessor method.
- getAccessor() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Override.
- getAnnotation() - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getAnnotation(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
Returns the annotation bound of the given type in this
AnnotationTarget or null if it doesn't exist
- getAnnotation(String) - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
Returns the annotation bound of the given type in this
AnnotationTarget or null if it doesn't exist
- getAnnotation() - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- getAnnotation(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
- getAnnotation(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
- getAnnotationArrayValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getAnnotationArrayValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getAnnotationArrayValue() - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- getAnnotationArrayValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- getAnnotationElement(String) - Method in interface org.jboss.forge.roaster.model.JavaAnnotation
-
- getAnnotationElement(String) - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
- getAnnotationElements() - Method in interface org.jboss.forge.roaster.model.JavaAnnotation
-
- getAnnotationElements() - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
- getAnnotations() - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
- getAnnotations() - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
- getAnnotationValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getAnnotationValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getAnnotationValue() - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- getAnnotationValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- getArrayDimension(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Returns the dimension of the array.
- getArrayDimensions() - Method in interface org.jboss.forge.roaster.model.Type
-
- getArraySuffix(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Get the array suffix.
- getBody() - Method in interface org.jboss.forge.roaster.model.EnumConstant
-
- getBody() - Method in interface org.jboss.forge.roaster.model.Method
-
Get the inner body of this
Method
- getBody() - Method in interface org.jboss.forge.roaster.model.source.EnumConstantSource
-
- getBounds() - Method in interface org.jboss.forge.roaster.model.TypeVariable
-
Get the upper bounds of this type variable.
- getCanonicalName() - Method in interface org.jboss.forge.roaster.model.JavaType
-
Return the canonical name of this T instance.
- getClassArray() - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getClassArrayValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getClassArrayValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getClassValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getClassValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getColumn() - Method in interface org.jboss.forge.roaster.model.SyntaxError
-
Get the 0 based column number for the error start whenever it's possible to calculate it, or < 0 when the column
is unknown.
- getColumnNumber() - Method in interface org.jboss.forge.roaster.model.source.LocationCapable
-
Returns the column number corresponding to the given source character position in the original source string.
- getConstructorArguments() - Method in interface org.jboss.forge.roaster.model.EnumConstant
-
Get the constructor arguments of this enum constant.
- getDefaultProperties() - Method in class org.jboss.forge.roaster.model.util.FormatterProfileReader
-
Get the default settings.
- getDefaultValue() - Method in interface org.jboss.forge.roaster.model.AnnotationElement
-
- getDefaultValue() - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource
-
- getDefaultValue(Class<?>) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Returns the default value for a given class according to the Java Language Specification.
- getDefaultValue(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Returns the default value for a given type according to the Java Language Specification.
- getDescription() - Method in interface org.jboss.forge.roaster.model.SyntaxError
-
Get a textual description of the type of problem encountered.
- getEnclosingType() - Method in interface org.jboss.forge.roaster.model.JavaType
-
Return the enclosing
JavaType type in which this class is defined.
- getEnclosingType() - Method in interface org.jboss.forge.roaster.model.source.JavaSource
-
- getEndPosition() - Method in interface org.jboss.forge.roaster.model.source.LocationCapable
-
Returns the character index into the original source file indicating where the source fragment corresponding to
this element ends.
- getEnum(Class<T>) - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getEnumArray(Class<T>) - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getEnumArrayValue(Class<T>) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getEnumArrayValue(Class<T>, String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getEnumConstant(String) - Method in interface org.jboss.forge.roaster.model.JavaEnum
-
Return the
EnumConstant with the given name, or return null if no such constant exists.
- getEnumConstant(String) - Method in interface org.jboss.forge.roaster.model.source.JavaEnumSource
-
Return the
EnumConstant with the given name, or return null if no such constant exists.
- getEnumConstants() - Method in interface org.jboss.forge.roaster.model.JavaEnum
-
- getEnumConstants() - Method in interface org.jboss.forge.roaster.model.source.JavaEnumSource
-
- getEnumValue(Class<T>) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getEnumValue(Class<T>, String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getField(String) - Method in interface org.jboss.forge.roaster.model.FieldHolder
-
Get the
Field with the given name and return it, otherwise, return null.
- getField() - Method in interface org.jboss.forge.roaster.model.Property
-
Get the field that stores the value of the property.
- getField(String) - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Get the
Field with the given name and return it, otherwise, return null.
- getField() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Override.
- getFields() - Method in interface org.jboss.forge.roaster.model.FieldHolder
-
Get a list of all
Fields declared by this
O, or return an empty list if no
Fields are
declared.
- getFields() - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Get a list of all
Fields declared by this
O, or return an empty list if no
Fields are
declared.
- getFrom(VisibilityScoped) - Static method in enum org.jboss.forge.roaster.model.Visibility
-
- getFullText() - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Returns the full text for this
JavaDoc, including tags
- getGenerics(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Returns the generic part of a given type.
- getGenericsTypeParameter(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- getGoverningType() - Method in interface org.jboss.forge.roaster.model.JavaUnit
-
A type in the source file governs the declaration environment such as 'package' and 'import' information.
- getImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Get the
Import for the given fully-qualified class name, if it exists; otherwise, return null;
- getImport(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Get the
Import for the given
Class type, if it exists; otherwise, return null;
- getImport(T) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Get the
Import for the given
T type, if it exists; otherwise, return null;
- getImport(Import) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Get the
Import of the given
Import type, if it exists; otherwise, return null;
- getImports() - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Get an immutable list of all
Imports currently imported by this
O
- getInterfaces() - Method in interface org.jboss.forge.roaster.model.InterfaceCapable
-
- getInternal() - Method in interface org.jboss.forge.roaster.Internal
-
Returns the implementation-specific object representing this.
- getJavaDoc() - Method in interface org.jboss.forge.roaster.model.JavaDocCapable
-
Returns the
JavaDoc for this element.
- getJavaDoc() - Method in interface org.jboss.forge.roaster.model.source.JavaDocCapableSource
-
- getLine() - Method in interface org.jboss.forge.roaster.model.SyntaxError
-
Gets the 1 based line number for the syntax error whenever it's possible to calculate it, or < 0 when the line is
unknown.
- getLineNumber() - Method in interface org.jboss.forge.roaster.model.source.LocationCapable
-
Returns the line number corresponding to the given source character position in the original source string.
- getLiteral() - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getLiteralInitializer() - Method in interface org.jboss.forge.roaster.model.Field
-
- getLiteralValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getLiteralValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getLiteralValue() - Method in interface org.jboss.forge.roaster.model.ValuePair
-
- getMembers() - Method in interface org.jboss.forge.roaster.model.MemberHolder
-
Return a list of all class members (fields, methods, etc.)
- getMembers() - Method in interface org.jboss.forge.roaster.model.source.MemberHolderSource
-
Return a list of all class members (fields, methods, etc.)
- getMessage() - Method in class org.jboss.forge.roaster.Problem
-
Returns the message of this problem.
- getMethod(String) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return the
Method with the given name and zero parameters; otherwise return null.
- getMethod(String, String...) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return the
Method with the given name and signature types; otherwise return null.
- getMethod(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return the
Method with the given name and signature types; otherwise return null.
- getMethod(String) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Return the
MethodSource with the given name and zero parameters; otherwise return null.
- getMethod(String, String...) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Return the
MethodSource with the given name and signature types; otherwise return null.
- getMethod(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Return the
MethodSource with the given name and signature types; otherwise return null.
- getMethods() - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Get a
List of all
Methods declared by this
O instance, if any; otherwise, return an empty
List
- getMethods() - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Get a
List of all
MethodSources declared by this
O instance, if any; otherwise, return an
empty
List
- getMutator() - Method in interface org.jboss.forge.roaster.model.Property
-
Get this property's mutator method.
- getMutator() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Override.
- getName() - Method in interface org.jboss.forge.roaster.model.Annotation
-
Get the simple name of this annotation.
- getName() - Method in interface org.jboss.forge.roaster.model.JavaDocTag
-
The tag name
- getName() - Method in interface org.jboss.forge.roaster.model.Named
-
Get the simple name of this T instance.
- getName() - Method in interface org.jboss.forge.roaster.model.Parameter
-
- getName() - Method in interface org.jboss.forge.roaster.model.Type
-
Returns the type's name after erasing any type parameters.
- getName() - Method in interface org.jboss.forge.roaster.model.ValuePair
-
- getNestedType(String) - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
-
- getNestedType(String) - Method in interface org.jboss.forge.roaster.model.TypeHolder
-
Get the
JavaType with the given name and return it, otherwise, return null.
- getNestedTypes() - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
-
Return a list containing
JavaSource instances for each nested
Class declaration found within
this.
- getNestedTypes() - Method in interface org.jboss.forge.roaster.model.TypeHolder
-
Return a list containing
JavaType instances for each nested
Class declaration found within
this.
- getOrigin() - Method in interface org.jboss.forge.roaster.Origin
-
Returns the root ancestor of this object.
- getPackage() - Method in interface org.jboss.forge.roaster.model.Packaged
-
Get the package of this T, or return null if it is in the default package.
- getPackage() - Method in interface org.jboss.forge.roaster.model.source.Import
-
Returns the package part of a import.
- getPackage(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Extracts the package part of a given type name.
- getParameters() - Method in interface org.jboss.forge.roaster.model.Method
-
Get a list of this
Method's parameters.
- getParameters() - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Get a list of this
Method's parameters.
- getParentType() - Method in interface org.jboss.forge.roaster.model.Type
-
- getProblems() - Method in exception org.jboss.forge.roaster.ParserException
-
Get the problems occurred during a parsing process.
- getProfileNames() - Method in class org.jboss.forge.roaster.model.util.FormatterProfileReader
-
- getProperties(Class<?>) - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Get a list of all
Properties declared by this
O with the given type,
or return an empty list if no matching
Properties are declared.
- getProperties() - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Get a list of all
Properties declared by this
O, or return an empty list if no
Properties are declared.
- getProperties() - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
- getProperties(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
- getPropertiesFor(String) - Method in class org.jboss.forge.roaster.model.util.FormatterProfileReader
-
Returns the
Properties related to the formatter name.
- getProperty(String) - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Get the
Property with the given name and return it, otherwise, return null.
- getProperty(String) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
- getQualifiedName() - Method in interface org.jboss.forge.roaster.model.Annotation
-
Get the qualified name of this annotation.
- getQualifiedName() - Method in interface org.jboss.forge.roaster.model.JavaType
-
Get the qualified-name of this T instance, where the qualified-name contains both the Java package and
simple class name of the type represented by this T instance.
- getQualifiedName() - Method in interface org.jboss.forge.roaster.model.source.Import
-
Returns the qualified name, so it's the same as 'getPackage() + "." + getSimpleName()'.
- getQualifiedName() - Method in interface org.jboss.forge.roaster.model.Type
-
Returns the type's qualified name, expanding simple names according to imports
- getQualifiedNameWithGenerics() - Method in interface org.jboss.forge.roaster.model.Type
-
Returns the type's qualified name, preserving type parameters (which are also qualified) Preserves array
dimensions.
- getReturnType() - Method in interface org.jboss.forge.roaster.model.Method
-
- getSimpleName() - Method in interface org.jboss.forge.roaster.model.source.Import
-
Returns the simple name of a import.
- getSimpleName() - Method in interface org.jboss.forge.roaster.model.Type
-
Returns the type's name, simplifying qualified names based on imports Preserves generic parameters, simplifying
them recursively Preserves array dimensions
- getSingleClass() - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getSourceEnd() - Method in class org.jboss.forge.roaster.Problem
-
Returns the end position of this problem or -1 if unknown.
- getSourceLineNumber() - Method in class org.jboss.forge.roaster.Problem
-
Returns the source line number of the start of the problem.
- getSourceStart() - Method in class org.jboss.forge.roaster.Problem
-
Returns the start position of this problem or -1 if unknown.
- getStartPosition() - Method in interface org.jboss.forge.roaster.model.source.LocationCapable
-
Returns the character index into the original source file indicating where the source fragment corresponding to
this element begins.
- getString() - Method in interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
-
- getStringArrayValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getStringArrayValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getStringInitializer() - Method in interface org.jboss.forge.roaster.model.Field
-
- getStringValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getStringValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getStringValue() - Method in interface org.jboss.forge.roaster.model.ValuePair
-
- getSuperType() - Method in interface org.jboss.forge.roaster.model.Extendable
-
Get this type's super class.
- getSyntaxErrors() - Method in interface org.jboss.forge.roaster.model.JavaType
-
Get a list of all
SyntaxErrors detected in the current
T.
- getTagNames() - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Return the tag names for this
JavaDoc
- getTags(String) - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Returns a list of
JavaDocTag values for the given tag name (eg: @param) or an empty list if not found
- getTags() - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Returns a list of
JavaDocTag values for the given tag name (eg: @param) or an empty list if not found
- getText() - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Returns the text for this
JavaDoc, excluding tags
- getThrownExceptions() - Method in interface org.jboss.forge.roaster.model.Method
-
Get a list of qualified (if possible)
Exception class names thrown by this method.
- getTopLevelTypes() - Method in interface org.jboss.forge.roaster.model.JavaUnit
-
- getType() - Method in interface org.jboss.forge.roaster.model.AnnotationElement
-
Get this annotation element's
Type.
- getType() - Method in interface org.jboss.forge.roaster.model.Field
-
- getType() - Method in interface org.jboss.forge.roaster.model.Parameter
-
- getType() - Method in interface org.jboss.forge.roaster.model.Property
-
Get this property's
Type.
- getTypeArguments() - Method in interface org.jboss.forge.roaster.model.Type
-
- getTypeVariable(String) - Method in interface org.jboss.forge.roaster.model.GenericCapable
-
- getTypeVariable(String) - Method in interface org.jboss.forge.roaster.model.source.GenericCapableSource
-
- getTypeVariables() - Method in interface org.jboss.forge.roaster.model.GenericCapable
-
Returns all the generic types associated with this object
- getTypeVariables() - Method in interface org.jboss.forge.roaster.model.source.GenericCapableSource
-
- getValue() - Method in interface org.jboss.forge.roaster.model.JavaDocTag
-
The tag value
- getValues() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- getVisibility() - Method in interface org.jboss.forge.roaster.model.VisibilityScoped
-
- implementAbstractMethods(MethodHolder<?>, MethodHolderSource<?>) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
- implementAbstractMethods(Class<?>, MethodHolderSource<?>) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
- implementInterface(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified
Class interface and import their abstract methods, if any.
- implementInterface(JavaInterface<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified
JavaInterface and import their abstract methods, if any.
- implementMethod(MethodSource<?>) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
Adds a default method implementation to the given
MethodSource.
- Import - Interface in org.jboss.forge.roaster.model.source
-
- Importer<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Defines the aspect of
JavaSource that handles type imports.
- InterfaceCapable - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaType that may implement one or more interfaces.
- InterfaceCapableSource<T extends JavaSource<T>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSource that may implement one or more interfaces.
- Internal - Interface in org.jboss.forge.roaster
-
Represents an object that stores implementation-specific data.
- isAbstract() - Method in interface org.jboss.forge.roaster.model.Abstractable
-
- isAccessible() - Method in interface org.jboss.forge.roaster.model.Property
-
Learn whether this property is accessible (i.e.
- isAnnotation() - Method in interface org.jboss.forge.roaster.model.JavaType
-
- isArray() - Method in interface org.jboss.forge.roaster.model.Type
-
- isArray(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the given type is an array.
- isBasicType(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the give type is a basic type, so it's either primitive or one of the primitive wrapper classes.
- isClass() - Method in interface org.jboss.forge.roaster.model.JavaType
-
- isConstructor() - Method in interface org.jboss.forge.roaster.model.Method
-
Return
true if this
Method is a constructor for the class in which it is defined.
- isDefault() - Method in interface org.jboss.forge.roaster.model.Method
-
- isDefaultPackage() - Method in interface org.jboss.forge.roaster.model.Packaged
-
Return whether or not this T is in the default package.
- isEnum() - Method in interface org.jboss.forge.roaster.model.JavaType
-
- isError() - Method in interface org.jboss.forge.roaster.model.SyntaxError
-
True if the syntax error is an error, false in any other case.
- isFinal() - Method in interface org.jboss.forge.roaster.model.FinalCapable
-
- isGeneric(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the given type is generic.
- isInterface() - Method in interface org.jboss.forge.roaster.model.JavaType
-
- isJavaLang(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the given type is part of the java.lang package.
- isLocalClass() - Method in interface org.jboss.forge.roaster.model.JavaClass
-
Returns
true if this
JavaClass represents a local class.
- isMarker() - Method in interface org.jboss.forge.roaster.model.Annotation
-
Checks if this annotation is a marker annotation.
- isMutable() - Method in interface org.jboss.forge.roaster.model.Property
-
Learn whether this property is mutable (i.e.
- isNative() - Method in interface org.jboss.forge.roaster.model.Method
-
- isNormal() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- isPackagePrivate() - Method in interface org.jboss.forge.roaster.model.VisibilityScoped
-
- isParameterized() - Method in interface org.jboss.forge.roaster.model.Type
-
- isPrimitive() - Method in interface org.jboss.forge.roaster.model.Type
-
- isPrimitive(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the given type is primitive according to the Java Language Specification.
- isPrivate() - Method in interface org.jboss.forge.roaster.model.VisibilityScoped
-
- isProtected() - Method in interface org.jboss.forge.roaster.model.VisibilityScoped
-
- isPublic() - Method in interface org.jboss.forge.roaster.model.VisibilityScoped
-
- isQualified() - Method in interface org.jboss.forge.roaster.model.Type
-
- isQualified(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the given type name is qualified, that means that it contains at least one '.'.
- isReturnTypeVoid() - Method in interface org.jboss.forge.roaster.model.Method
-
Convenience method to learn whether the
Method has a primitive
void return type.
- isSimpleName(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the given name is a simple name, so not full qualified.
- isSingleValue() - Method in interface org.jboss.forge.roaster.model.Annotation
-
- isStatic() - Method in interface org.jboss.forge.roaster.model.StaticCapable
-
- isSynchronized() - Method in interface org.jboss.forge.roaster.model.Method
-
- isTransient() - Method in interface org.jboss.forge.roaster.model.Field
-
- isType(Class<?>) - Method in interface org.jboss.forge.roaster.model.Type
-
- isType(String) - Method in interface org.jboss.forge.roaster.model.Type
-
- isTypeElementDefined(String) - Method in interface org.jboss.forge.roaster.model.Annotation
-
- isVarArgs() - Method in interface org.jboss.forge.roaster.model.Parameter
-
- isVolatile() - Method in interface org.jboss.forge.roaster.model.Field
-
- isWarning() - Method in interface org.jboss.forge.roaster.model.SyntaxError
-
True if the syntax error is a warning, false in any other case.
- isWildcard() - Method in interface org.jboss.forge.roaster.model.source.Import
-
Checks if this import is a wildcard (*) import.
- isWildcard() - Method in interface org.jboss.forge.roaster.model.Type
-
- rebuildGenericNameWithArrays(String, Type<O>) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- Refactory - Class in org.jboss.forge.roaster.model.util
-
- removeAccessor() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Remove the accessor method.
- removeAllAnnotations() - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
Remove all annotations instance from this T.
- removeAllAnnotations(MethodSource<?>) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
- removeAllTags() - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Remove all tags
- removeAllValues() - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- removeAnnotation(Annotation<O>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
Remove an annotation instance from this T.
- removeAnnotationElement(AnnotationElement<?>) - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
- removeAnnotationValue(Annotation<O>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Remove element from the array of values associated with the "value" annotation element.
- removeAnnotationValue(String, Annotation<O>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Remove element from the array of values associated with the specified annotation element.
- removeBody() - Method in interface org.jboss.forge.roaster.model.source.EnumConstantSource
-
- removeBounds() - Method in interface org.jboss.forge.roaster.model.source.TypeVariableSource
-
Remove any bounds declared on this type variable.
- removeField(Field<O>) - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Remove the given
Field from this
O instance, if it exists; otherwise, do nothing.
- removeField() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Remove the storing field.
- removeImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Remove any
Import for the given fully-qualified class name, if it exists; otherwise, do nothing;
- removeImport(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Remove any
Import for the given
Class type, if it exists; otherwise, do nothing;
- removeImport(T) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Remove any
Import for the given
T type, if it exists; otherwise, do nothing;
- removeImport(Import) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Remove the given
Import from this
O instance, if it exists; otherwise, do nothing;
- removeInterface(String) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Removes the specified interface FQN
- removeInterface(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Removes the specified interface
- removeInterface(JavaInterface<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Removes the specified interface
- removeJavaDoc() - Method in interface org.jboss.forge.roaster.model.source.JavaDocCapableSource
-
- removeMethod(Method<O, ?>) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Remove the given
MethodSource declaration from this
O instance, if it exists; otherwise, do
nothing.
- removeMutator() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Remove the mutator method.
- removeNestedType(JavaSource<?>) - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
-
Remove the nested type instance, if it exists; otherwise, do nothing.
- removeParameter(ParameterSource<O>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a parameter from this method
- removeParameter(Class<?>, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a parameter with the specified
Class type and name from this method
- removeParameter(String, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a parameter with the specified type and name from this method
- removeParameter(JavaType<?>, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a parameter with the specified
JavaType type and name to this method
- removeProperty(Property<O>) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
Remove the given
Property from this
O instance, if it exists; otherwise, do nothing.
- removeTag(JavaDocTag) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
- removeTags(String) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Removes the given tagName from this
JavaDoc
- removeThrows(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a thrown
Exception to this method's signature.
- removeThrows(Class<? extends Exception>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a thrown
Exception to this method's signature.
- removeTypeVariable(String) - Method in interface org.jboss.forge.roaster.model.source.GenericCapableSource
-
Removes a type variable.
- removeTypeVariable(TypeVariable<?>) - Method in interface org.jboss.forge.roaster.model.source.GenericCapableSource
-
Removes a type variable.
- removeValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- requiresImport(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Return whether or not this
O would require an import to reference the given
Class type.
- requiresImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Return whether or not this O would require an import to reference the given fully-qualified class name.
- resolve(JavaType<?>, String) - Method in interface org.jboss.forge.roaster.spi.WildcardImportResolver
-
Resolves the wildcard type from the specified source
- resolveType(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Given a simple or qualified type, resolve that type against the available imports and return the referenced type.
- Roaster - Class in org.jboss.forge.roaster
-
Responsible for parsing data into new
JavaType instances.
- scope() - Method in enum org.jboss.forge.roaster.model.Visibility
-
private, public, protected, package private("")
- SerialVersionUIDComputer - Class in org.jboss.forge.roaster.model.util
-
Computes the SerialVersion UID value
- set(T, Visibility) - Static method in enum org.jboss.forge.roaster.model.Visibility
-
- setAbstract(boolean) - Method in interface org.jboss.forge.roaster.model.source.AbstractableSource
-
- setAccessible(boolean) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Set whether this property is accessible.
- setAnnotation() - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setAnnotationValue() - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Set an annotation value.
- setAnnotationValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Set a named annotation value.
- setBody(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set the inner body of this
Method
- setBounds(JavaType<?>...) - Method in interface org.jboss.forge.roaster.model.source.TypeVariableSource
-
Set the bounds of this type variable.
- setBounds(Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.TypeVariableSource
-
Set the bounds of this type variable.
- setBounds(String...) - Method in interface org.jboss.forge.roaster.model.source.TypeVariableSource
-
Set the bounds of this type variable.
- setClassArray(Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setClassArrayValue(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setClassArrayValue(Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setClassValue(String, Class<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setClassValue(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setConstructor(boolean) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Toggle this method as a constructor.
- setConstructorArguments(String...) - Method in interface org.jboss.forge.roaster.model.source.EnumConstantSource
-
Set the constructor arguments for this enum constant.
- setDefault(boolean) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Sets the default keyword in this method
- setDefaultPackage() - Method in interface org.jboss.forge.roaster.model.source.PackagedSource
-
Set this T to be in the default package (removes any current package declaration.)
- setEnum(T) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setEnumArray(T...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setEnumArrayValue(String, Enum<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setEnumArrayValue(Enum<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setEnumValue(String, Enum<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setEnumValue(Enum<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setFinal(boolean) - Method in interface org.jboss.forge.roaster.model.source.FinalCapableSource
-
Sets the final keyword in this element.
- setFullText(String) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Sets the whole
JavaDoc text, including tags
- setLiteral(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setLiteralInitializer(String) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
- setLiteralValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setLiteralValue(String, String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setMutable(boolean) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Set whether this property is mutable.
- setName(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setName(String) - Method in interface org.jboss.forge.roaster.model.source.Import
-
Sets the data of this import object.
- setName(String) - Method in interface org.jboss.forge.roaster.model.source.NamedSource
-
Set the simple-name of this T instance.
- setNative(boolean) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Sets this method to be native
IMPORTANT: Setting it to true will remove the method body.
- setPackage(String) - Method in interface org.jboss.forge.roaster.model.source.PackagedSource
-
Set this T' package.
- setPackagePrivate() - Method in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
-
- setParameters(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
- setPrivate() - Method in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
-
- setProtected() - Method in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
-
- setPublic() - Method in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
-
- setReturnType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Method to return the given type.
- setReturnType(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Method to return the given type.
- setReturnType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Method to return the given type.
- setReturnType(Type<?>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Method to return the given type.
- setReturnTypeVoid() - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Method to return 'void'
- setSingleClass(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setStatic(boolean) - Method in interface org.jboss.forge.roaster.model.source.StaticCapableSource
-
Sets the static keyword in this element.
- setString(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
-
- setStringArrayValue(String, String[]) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setStringArrayValue(String[]) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setStringInitializer(String) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
- setStringValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setStringValue(String, String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
- setSuperType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.ExtendableSource
-
Set this type's super class.
- setSuperType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.ExtendableSource
-
Set this type's super class.
- setSuperType(String) - Method in interface org.jboss.forge.roaster.model.source.ExtendableSource
-
Set this type's super class.
- setSynchronized(boolean) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Sets the synchronized keyword in this element.
- setText(String) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Sets the text for this
JavaDoc (without any tags)
- setTransient(boolean) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
- setType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource
-
- setType(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource
-
- setType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource
-
- setType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
Set the type of this
Field to the given
Class type.
- setType(String) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
Set the type of this
Field to the given type.
- setType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
Set the type of this
Field to the given
JavaSource> type.
- setType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
- setType(String) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Set the type of this
Property to the given type.
- setType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Set the type of this
Property to the given
JavaType> type.
- setVarArgs(boolean) - Method in interface org.jboss.forge.roaster.model.source.ParameterSource
-
- setVisibility(Visibility) - Method in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
-
- setVolatile(boolean) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
- splitGenerics(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Returns the available generics as a String array.
- StaticCapable - Interface in org.jboss.forge.roaster.model
-
Represents a Java element that may support the static keyword
- StaticCapableSource<T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java element that supports the static keyword.
- Streams - Class in org.jboss.forge.roaster
-
Various stream utilities.
- stripArray(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Strips the array from a given type.
- stripGenerics(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Removes the generics part of a given type.
- SyntaxError - Interface in org.jboss.forge.roaster.model
-