- generateParameterNames(Class<?>[]) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
- 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
-
- getBasicArrayDimension(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- 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.
- 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
-
- 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 type
- getDefaultValue(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Returns the default value for a given type
- 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
-
- 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
Field
s declared by this
O
, or return an empty list if no
Field
s are
declared.
- getFields() - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Get a list of all
Field
s declared by this
O
, or return an empty list if no
Field
s 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
-
- 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
Import
s 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
-
- getLevenshteinDistance(CharSequence, CharSequence) - Static method in class org.jboss.forge.roaster.model.util.Strings
-
Find the Levenshtein distance between two Strings.
- getLevenshteinDistance(CharSequence, CharSequence, int) - Static method in class org.jboss.forge.roaster.model.util.Strings
-
Find the Levenshtein distance between two Strings if it's less than or equal to a given threshold.
- 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.
- 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.)
- 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
Method
s 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
MethodSource
s 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
-
- 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
-
- 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
-
- getPackage(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- 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
-
- getProfileNames() - Method in class org.jboss.forge.roaster.model.util.FormatterProfileReader
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
SyntaxError
s 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
-
- rebuildGenericNameWithArrays(String, Type<O>) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- Refactory - Class in org.jboss.forge.roaster.model.util
-
- Refactory() - Constructor for class org.jboss.forge.roaster.model.util.Refactory
-
- removeAccessor() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Remove the accessor method.
- 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.
- Roaster() - Constructor for class org.jboss.forge.roaster.Roaster
-
- scope() - Method in enum org.jboss.forge.roaster.model.Visibility
-
private, public, protected, package private("")
- 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.
- 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
-
- 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
-
- 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
-
- 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.
- Strings - Class in org.jboss.forge.roaster.model.util
-
String utilities.
- Strings() - Constructor for class org.jboss.forge.roaster.model.util.Strings
-
- stripArray(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- stripGenerics(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
- stripQuotes(String) - Static method in class org.jboss.forge.roaster.model.util.Strings
-
- SyntaxError - Interface in org.jboss.forge.roaster.model
-