Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- Abstractable - Interface in org.jboss.forge.roaster.model
-
Represents a Java element that may be declared
abstract. - AbstractableSource<T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java source element that may be declared
abstract. - addAnnotation() - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
Add a new annotation instance to this
AnnotationTargetSource(note that an import statement must be added manually if required). - addAnnotation(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
Add a new annotation instance to this
AnnotationTargetSource, using the givenClassas the annotation type. - addAnnotation(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
-
Add a new annotation instance to this
AnnotationTargetSource, using the givenStringclassName as the annotation type. - addAnnotationElement() - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
Add a new Java
AnnotationElementSourceto thisJavaAnnotationSourceinstance. - addAnnotationElement(String) - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
Add a new
AnnotationElementSourcedeclaration to thisJavaAnnotationSourceinstance, using the givenStringas the declaration. - addAnnotationValue() - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Add an annotation value.
- addAnnotationValue(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Add an annotation value.
- addAnnotationValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Add a named annotation value.
- addAnnotationValue(String, Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Add an annotation value.
- addEnumConstant() - Method in interface org.jboss.forge.roaster.model.source.JavaEnumSource
-
Add a new
EnumConstant - addEnumConstant(String) - Method in interface org.jboss.forge.roaster.model.source.JavaEnumSource
-
Add a new
EnumConstantusing the given declaration. - addField() - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Add a new Java
Fieldto thisFieldHolderSourceinstance. - addField(String) - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Add a new
Fielddeclaration to thisFieldHolderSourceinstance, using the givenStringas the declaration. - addImport(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Add an import for the given
Classtype. - addImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Add an import by qualified class name.
- addImport(Import) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Add an import for the given
Importtype. - addImport(Type<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Ensures the type passed as argument is included in the list of imports for this java source.
- addImport(T) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Add an import for the given
JavaTypetype. - addInterface(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified
Classinterface - addInterface(String) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified interface name
- addInterface(JavaInterface<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified
JavaInterface - addMethod() - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Add an uninitialized
MethodSourcedeclaration to thisMethodHolderSourceinstance. - addMethod(Method) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Add a new
MethodSourcedeclaration to thisMethodHolderSourceinstance, using the givenMethodas the method declaration. - addMethod(String) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Add a new
MethodSourcedeclaration to thisMethodHolderSourceinstance, using the givenStringas the method declaration. - addMethod(Method<?, ?>) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Add a new
MethodSourcedeclaration to thisMethodHolderSourceinstance, using the givenMethodas the method declaration. - addNestedType(Class<NESTED_TYPE>) - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
-
Creates a nested type in this
JavaSource. - addNestedType(String) - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
-
Add a new type declaration to this instance, using the given
Stringas the declaration. - addNestedType(NESTED_TYPE) - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
-
Adds a type as a nested type in this
JavaSource. - addParameter(Class<?>, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Add a parameter with the specified
Classtype and name to this method - addParameter(String, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Add a parameter with the specified type and name to this method
- addParameter(JavaType<?>, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Add a parameter with the specified
JavaTypetype and name to this method - addProperty(Class<?>, String) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
Add a new
Propertydeclaration to thisPropertyHolderSourceinstance. - addProperty(String, String) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
Add a new
Propertydeclaration to thisPropertyHolderSourceinstance. - addProperty(JavaType<?>, String) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
Add a new
Propertydeclaration to thisPropertyHolderSourceinstance. - addRecordComponent(Class<?>, String) - Method in interface org.jboss.forge.roaster.model.source.JavaRecordSource
- addRecordComponent(String, String) - Method in interface org.jboss.forge.roaster.model.source.JavaRecordSource
- addTagValue(String, String) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Add a tag value for this
JavaDocSource - addTagValue(JavaDocTag) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Add a tag value given an existing
JavaDocTag - addThrows(Class<? extends Exception>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Add a thrown
Exceptionto this method's signature. - addThrows(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Add a thrown
Exceptionto this method's signature. - addTypeVariable() - Method in interface org.jboss.forge.roaster.model.source.GenericCapableSource
-
Adds a type variable.
- addTypeVariable(String) - Method in interface org.jboss.forge.roaster.model.source.GenericCapableSource
-
Shortcut to
NamedSource.setName(String) - Annotation<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents an annotation on a Java element.
- AnnotationElement<O extends JavaAnnotation<O>> - Interface in org.jboss.forge.roaster.model
-
Represents an element definition of a
JavaAnnotation. - AnnotationElement.ReadDefaultValue<O extends JavaAnnotation<O>> - Interface in org.jboss.forge.roaster.model
-
Represents the default value of a given
AnnotationElement. - AnnotationElementSource - Interface in org.jboss.forge.roaster.model.source
-
Represents an element definition of a
JavaAnnotationSource. - AnnotationElementSource.DefaultValue - Interface in org.jboss.forge.roaster.model.source
-
Represents the default value of an
AnnotationElementSourceand provides mechanisms to set that value. - AnnotationSource<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents an annotation on some Java source element.
- AnnotationTarget<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java element that may carry annotations.
- AnnotationTargetSource<O extends JavaSource<O>,
T> - Interface in org.jboss.forge.roaster.model.source -
Represents a Java source element that may carry annotations.
- areEquivalent(String, String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if two type names are equal after removing the generic part.
C
- compute(JavaClassSource) - Static method in class org.jboss.forge.roaster.model.util.SerialVersionUIDComputer
-
This is not the official algorithm as defined in the JLS spec, but it is close
- create(Class<T>) - Static method in class org.jboss.forge.roaster.Roaster
-
Create a new empty
JavaSourceinstance. - create(Class<T>) - Method in interface org.jboss.forge.roaster.spi.JavaParser
-
Create a new empty
JavaSourceinstance. - createAccessor() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Create the accessor method.
- createBuilder(JavaClassSource) - Static method in class org.jboss.forge.roaster.model.util.DesignPatterns
-
Creates a class based on the Builder Design pattern.
- createDecorator(JavaType<?>) - Static method in class org.jboss.forge.roaster.model.util.DesignPatterns
-
Creates a class based on the Decorator design pattern.
- createEquals(JavaClassSource, FieldSource<?>...) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Create an equals implementation for the given class and fields.
- createField() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Create the storing field.
- createGetterAndSetter(JavaClassSource, FieldSource<JavaClassSource>) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Generates a getXXX and setXXX method for the supplied field
- createHashCode(JavaClassSource, FieldSource<?>...) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Create a hashCode implementation for the given class and fields.
- createHashCodeAndEquals(JavaClassSource) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Deprecated.
- createHashCodeAndEquals(JavaClassSource, FieldSource<?>...) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Create a hashCode and equals implementation for the given class and fields.
- createMutator() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Create the mutator method.
- createToStringFromFields(JavaClassSource) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Create a toString implementation using all the fields in this class
- createToStringFromFields(JavaClassSource, List<FieldSource<JavaClassSource>>) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Create a toString implementation using the supplied fields
- createToStringFromFields(JavaClassSource, FieldSource<JavaClassSource>...) - Static method in class org.jboss.forge.roaster.model.util.Refactory
-
Create a toString implementation using the supplied fields
D
- DesignPatterns - Class in org.jboss.forge.roaster.model.util
-
Design patterns from GoF
E
- EnumConstant<O extends JavaEnum<O>> - Interface in org.jboss.forge.roaster.model
-
Represents one of the constant members of a
JavaEnum. - EnumConstant.ReadBody<O extends EnumConstant.ReadBody<O>> - Interface in org.jboss.forge.roaster.model
-
Represents the anonymous subclass "body" of a
EnumConstant. - EnumConstantSource - Interface in org.jboss.forge.roaster.model.source
-
Represents one of the constant members of a
JavaEnumSource. - EnumConstantSource.Body - Interface in org.jboss.forge.roaster.model.source
-
Represents the anonymous subclass "body" of an
EnumConstantSource. - equals(Object) - Method in class org.jboss.forge.roaster.Problem
- Extendable<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat can extend other types (Java inheritance and interfaces). - ExtendableSource<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat can extend other types (Java inheritance and interfaces). - extendSuperType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.ExtendableSource
-
Set this type's super class and import their abstract methods, if any.
- extendSuperType(JavaClass<?>) - Method in interface org.jboss.forge.roaster.model.source.ExtendableSource
-
Set this type's super class and import their abstract methods, if any.
F
- Field<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
- FieldHolder<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may contain field definitions. - FieldHolderSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat may contain field definitions. - FieldSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
- FinalCapable - Interface in org.jboss.forge.roaster.model
-
Represents a Java element that can be modified
- FinalCapableSource<T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java element that supports the final keyword.
- format(String) - Static method in class org.jboss.forge.roaster.Roaster
-
Format the given
Stringas a Java source file, using the built in code format style. - format(String) - Method in interface org.jboss.forge.roaster.spi.FormatterProvider
-
Format the provided source code.
- format(Properties, String) - Static method in class org.jboss.forge.roaster.Roaster
-
Format the given
Stringas a Java source type, using the given code formatProperties - format(Properties, String) - Method in interface org.jboss.forge.roaster.spi.FormatterProvider
-
Format the source code, given the required
Properties. - FormatterProfileReader - Class in org.jboss.forge.roaster.model.util
-
Reads Formatter profiles
- FormatterProvider - Interface in org.jboss.forge.roaster.spi
-
Allows attaching a custom source formatter.
- fromEclipseXml(InputStream) - Static method in class org.jboss.forge.roaster.model.util.FormatterProfileReader
-
Creates a new
FormatterProfileReaderinstance.
G
- 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() - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource.DefaultValue
- getAnnotation(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
Returns the annotation bound of the given type in this
AnnotationTargetor null if it doesn't exist - getAnnotation(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
- getAnnotation(String) - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
Returns the annotation bound of the given type in this
AnnotationTargetor null if it doesn't exist - getAnnotation(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
- getAnnotationArrayValue() - 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.Annotation
- getAnnotationArrayValue(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- getAnnotationElement(String) - Method in interface org.jboss.forge.roaster.model.JavaAnnotation
-
Get the
AnnotationElementwith the given name and return it, otherwise, return null. - getAnnotationElement(String) - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
Get the
AnnotationElementSourcewith the given name and return it, otherwise, return null. - getAnnotationElements() - Method in interface org.jboss.forge.roaster.model.JavaAnnotation
-
Get a list of all
AnnotationElements declared by thisJavaAnnotation, or return an empty list if noAnnotationElements are declared. - getAnnotationElements() - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
Get a list of all
AnnotationElementSources declared by thisJavaAnnotation, or return an empty list if noAnnotationElementSources are declared. - 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() - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- getAnnotationValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
- 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
-
Get the
EnumConstantSource.Bodyof this enum constant. - 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
JavaTypeinstance. - 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
JavaTypetype in which this class is defined. - getEnclosingType() - Method in interface org.jboss.forge.roaster.model.source.JavaSource
-
Returns the
JavaSourceenclosing this type - 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
EnumConstantwith 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
EnumConstantwith the given name, or return null if no such constant exists. - getEnumConstants() - Method in interface org.jboss.forge.roaster.model.JavaEnum
-
Return all declared
EnumConstanttypes for thisJavaEnum - getEnumConstants() - Method in interface org.jboss.forge.roaster.model.source.JavaEnumSource
-
Return all declared
EnumConstanttypes for thisJavaEnum - 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() - Method in interface org.jboss.forge.roaster.model.Property
-
Get the field that stores the value of the property.
- getField() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Override.
- getField(String) - Method in interface org.jboss.forge.roaster.model.FieldHolder
-
Get the
Fieldwith the given name and return it, otherwise, return null. - getField(String) - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Get the
Fieldwith the given name and return it, otherwise, return null. - getFields() - Method in interface org.jboss.forge.roaster.model.FieldHolder
-
Get a list of all
Fields declared by thisFieldHolder, or return an empty list if noFields are declared. - getFields() - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Get a list of all
Fields declared by thisFieldHolderSource, or return an empty list if noFields are declared. - getFrom(VisibilityScoped) - Static method in enum class 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(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
- getImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Get the
Importfor the given fully-qualified class name, if it exists; otherwise, return null; - getImport(Import) - Method in interface org.jboss.forge.roaster.model.source.Importer
- getImport(T) - Method in interface org.jboss.forge.roaster.model.source.Importer
- getImports() - Method in interface org.jboss.forge.roaster.model.source.Importer
- 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
JavaDocfor 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() - Method in interface org.jboss.forge.roaster.model.ValuePair
- getLiteralValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
- 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
Methodwith the given name and zero parameters; otherwise return null. - getMethod(String) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Return the
MethodSourcewith the given name and zero parameters; otherwise return null. - getMethod(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return the
Methodwith the given name and signature types; otherwise return null. - getMethod(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Return the
MethodSourcewith the given name and signature types; otherwise return null. - getMethod(String, String...) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return the
Methodwith the given name and signature types; otherwise return null. - getMethod(String, String...) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Return the
MethodSourcewith the given name and signature types; otherwise return null. - getMethods() - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Get a
Listof allMethods declared by thisMethodHolderinstance, if any; otherwise, return an emptyList - getMethods() - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Get a
Listof allMethodSources declared by thisMethodHolderSourceinstance, if any; otherwise, return an emptyList - 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
Tinstance. - 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
JavaTypewith the given name and return it, otherwise, return null. - getNestedTypes() - Method in interface org.jboss.forge.roaster.model.source.TypeHolderSource
- getNestedTypes() - Method in interface org.jboss.forge.roaster.model.TypeHolder
- 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
Packaged, 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
-
Returns the profile names in this
FormatterProfileReader. - getProperties() - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Get a list of all
Propertiesdeclared by thisPropertyHolder, or return an empty list if noPropertiesare declared. - getProperties() - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
- getProperties(Class<?>) - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Get a list of all
Propertiesdeclared by thisPropertyHolderwith the given type, or return an empty list if no matchingPropertiesare declared. - 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
Propertiesrelated to the formatter name. - getProperty(String) - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Get the
Propertywith 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
- 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.
- getRecordComponents() - Method in interface org.jboss.forge.roaster.model.JavaRecord
- getRecordComponents() - Method in interface org.jboss.forge.roaster.model.source.JavaRecordSource
- 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() - Method in interface org.jboss.forge.roaster.model.ValuePair
- getStringValue(String) - Method in interface org.jboss.forge.roaster.model.Annotation
- 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 currentJavaType. - getTagNames() - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Return the tag names for this
JavaDoc - getTags() - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Returns a list of
JavaDocTagvalues for the given tag name (eg: @param) or an empty list if not found - getTags(String) - Method in interface org.jboss.forge.roaster.model.JavaDoc
-
Returns a list of
JavaDocTagvalues 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)
Exceptionclass 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
-
Get this field's
Type. - 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
-
Returns the named
TypeVariable. - 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
H
- hasAnnotation(Class<? extends Annotation>) - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
Check if annotation bound of the given type in this
AnnotationTargetexists - hasAnnotation(String) - Method in interface org.jboss.forge.roaster.model.AnnotationTarget
-
Check if annotation bound of the given type in this
AnnotationTargetexists - hasAnnotationElement(String) - Method in interface org.jboss.forge.roaster.model.JavaAnnotation
-
Return whether or not this
JavaAnnotationdeclares anAnnotationElementwith the given name. - hasAnnotationElement(AnnotationElement<?>) - Method in interface org.jboss.forge.roaster.model.JavaAnnotation
-
Return whether or not this
JavaAnnotationdeclares the givenAnnotationElementinstance. - hasField() - Method in interface org.jboss.forge.roaster.model.Property
-
Learn whether this property is backed by a
Field. - hasField(String) - Method in interface org.jboss.forge.roaster.model.FieldHolder
-
Return whether or not this
FieldHolderdeclares aFieldwith the given name. - hasField(Field<O>) - Method in interface org.jboss.forge.roaster.model.FieldHolder
-
Return whether or not this
FieldHolderdeclares the givenFieldinstance. - hashCode() - Method in class org.jboss.forge.roaster.Problem
- hasImport(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
- hasImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Return whether or not this
Importerhas an import for the given fully-qualified class name. - hasImport(Import) - Method in interface org.jboss.forge.roaster.model.source.Importer
- hasImport(T) - Method in interface org.jboss.forge.roaster.model.source.Importer
- hasInterface(Class<?>) - Method in interface org.jboss.forge.roaster.model.InterfaceCapable
- hasInterface(String) - Method in interface org.jboss.forge.roaster.model.InterfaceCapable
- hasInterface(JavaInterface<?>) - Method in interface org.jboss.forge.roaster.model.InterfaceCapable
- hasJavaDoc() - Method in interface org.jboss.forge.roaster.model.JavaDocCapable
- hasMethod(Method<O, ?>) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return true if this
MethodHolderhas a method with the given name and zero parameters; otherwise return false. - hasMethodSignature(String) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return true if this
MethodHolderhas a method with the given name and zero parameters; otherwise return false. - hasMethodSignature(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return true if this
MethodHolderhas a method with the given name and signature types; otherwise return false. - hasMethodSignature(String, String...) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return true if this
MethodHolderhas a method with the given name and signature types; otherwise return false. - hasMethodSignature(Method<?, ?>) - Method in interface org.jboss.forge.roaster.model.MethodHolder
-
Return true if this
MethodHolderhas a method with signature matching the given method's signature. - hasNestedType(Class<?>) - Method in interface org.jboss.forge.roaster.model.TypeHolder
-
Return whether or not this
TypeHolderdeclares the givenClassinstance. - hasNestedType(String) - Method in interface org.jboss.forge.roaster.model.TypeHolder
-
Return whether or not this
TypeHolderdeclares a type with the given name. - hasNestedType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.TypeHolder
-
Return whether or not this
TypeHolderdeclares the givenJavaTypeinstance. - hasProperty(String) - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Return whether or not this
PropertyHolderdeclares aPropertywith the given name. - hasProperty(Property<O>) - Method in interface org.jboss.forge.roaster.model.PropertyHolder
-
Return whether or not this
PropertyHolderdeclares the givenPropertyinstance. - hasSyntaxErrors() - Method in interface org.jboss.forge.roaster.model.JavaType
-
Return whether or not this
JavaTypecurrently has anySyntaxErrors. - hasTypeVariable(String) - Method in interface org.jboss.forge.roaster.model.GenericCapable
-
Returns if the value is declared as a
TypeVariable
I
- implementAbstractMethods(Class<?>, MethodHolderSource<?>) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
Implement the abstract methods present in a
Classto the specifiedMethodHolderSource. - implementAbstractMethods(MethodHolder<?>, MethodHolderSource<?>) - Static method in class org.jboss.forge.roaster.model.util.Methods
-
Implement the abstract methods present in a
MethodHolderto the specifiedMethodHolderSource. - implementInterface(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified
Classinterface and import their abstract methods, if any. - implementInterface(JavaInterface<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Implements the specified
JavaInterfaceand 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
-
Represents an imported element in a
JavaSource. - Importer<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Defines the aspect of
JavaSourcethat handles type imports. - InterfaceCapable - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may implement one or more interfaces. - InterfaceCapableSource<T extends JavaSource<T>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat 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
trueif thisMethodis 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
Packagedis 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
- isFinal() - Method in interface org.jboss.forge.roaster.model.source.JavaRecordComponentSource
- 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.langpackage. - isLocalClass() - Method in interface org.jboss.forge.roaster.model.JavaClass
-
Returns
trueif thisJavaClassrepresents 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 '.'.
- isRecord() - Method in interface org.jboss.forge.roaster.model.JavaType
- isReturnTypeVoid() - Method in interface org.jboss.forge.roaster.model.Method
-
Convenience method to learn whether the
Methodhas a primitivevoidreturn 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
J
- JavaAnnotation<O extends JavaAnnotation<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java
@interfaceannotation type. - JavaAnnotationSource - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java
@interfaceannotation source file as an in-memory modifiable element. - JavaClass<O extends JavaClass<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java
classtype. - JavaClassSource - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java
classsource file as an in-memory modifiable element. - JavaDoc<O> - Interface in org.jboss.forge.roaster.model
-
A
JavaDocrepresents Javadoc-style doc comment - JavaDocCapable<O> - Interface in org.jboss.forge.roaster.model
- JavaDocCapableSource<O> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourceelement that can holdJavaDoc - JavaDocSource<O> - Interface in org.jboss.forge.roaster.model.source
- JavaDocTag - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaDoctag, like the author tag below - JavaEnum<O extends JavaEnum<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java
enumtype. - JavaEnumSource - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java
enumsource file as an in-memory modifiable element. - JavaInterface<O extends JavaInterface<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java
interfacetype. - JavaInterfaceSource - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java
interfacesource file as an in-memory modifiable element. - JavaPackageInfo<O extends JavaPackageInfo<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java Package Info descriptor.
- JavaPackageInfoSource - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java Package Info descriptor source file.
- JavaParser - Interface in org.jboss.forge.roaster.spi
-
Main interface for Roaster parser implementations.
- JavaRecord<O extends JavaRecord<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Record class (available as a preview feature in JDK 14).
- JavaRecordComponent<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a Record component in a
JavaRecord. - JavaRecordComponentSource - Interface in org.jboss.forge.roaster.model.source
- JavaRecordSource - Interface in org.jboss.forge.roaster.model.source
- JavaSource<T extends JavaSource<T>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java type in source form.
- JavaType<T extends JavaType<T>> - Interface in org.jboss.forge.roaster.model
-
Represents a Java type.
- JavaUnit - Interface in org.jboss.forge.roaster.model
-
A
JavaUnitrepresents a Java compilation unit.
L
- LocationCapable - Interface in org.jboss.forge.roaster.model.source
-
Provides location information about an element in the source file
M
- Member<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypemember. - MemberHolder<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may declare fields or methods. - MemberHolderSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat may declare fields or methods. - MemberSource<O extends JavaSource<O>,
T> - Interface in org.jboss.forge.roaster.model.source -
Represents a
JavaSourcemember. - Method<O extends JavaType<O>,
T extends Method<O, T>> - Interface in org.jboss.forge.roaster.model -
Represents a Java Method.
- MethodHolder<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may declare methods. - MethodHolderSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat may declare methods. - Methods - Class in org.jboss.forge.roaster.model.util
-
Utility methods for
MethodSourceobjects - MethodSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java Method in source form.
N
- Named - Interface in org.jboss.forge.roaster.model
-
Represents a named Java element.
- NamedSource<T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a named Java source element.
O
- org.jboss.forge.roaster - package org.jboss.forge.roaster
- org.jboss.forge.roaster.model - package org.jboss.forge.roaster.model
- org.jboss.forge.roaster.model.source - package org.jboss.forge.roaster.model.source
- org.jboss.forge.roaster.model.util - package org.jboss.forge.roaster.model.util
- org.jboss.forge.roaster.spi - package org.jboss.forge.roaster.spi
- Origin<T> - Interface in org.jboss.forge.roaster
-
Represents an object that has a root ancestor that should be made accessible to its clients.
P
- PACKAGE_PRIVATE - Enum constant in enum class org.jboss.forge.roaster.model.Visibility
- Packaged<T> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may be declared as belonging to a particular Javapackage. - PackagedSource<T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat may be declared as belonging to a particular Javapackage. - Parameter<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a parameter of a
Method. - ParameterSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a parameter of a
MethodSource. - parse(char[]) - Static method in class org.jboss.forge.roaster.Roaster
-
Parse the given character array into a new
JavaTypeinstance. - parse(File) - Static method in class org.jboss.forge.roaster.Roaster
- parse(InputStream) - Static method in class org.jboss.forge.roaster.Roaster
-
Read the given
InputStreamand parse the data into a newJavaTypeinstance. - parse(Class<T>, char[]) - Static method in class org.jboss.forge.roaster.Roaster
-
Read the given character array and parse its data into a new
JavaTypeinstance of the given type. - parse(Class<T>, File) - Static method in class org.jboss.forge.roaster.Roaster
- parse(Class<T>, InputStream) - Static method in class org.jboss.forge.roaster.Roaster
-
Read the given
InputStreamand parse its data into a newJavaTypeinstance of the given type. - parse(Class<T>, String) - Static method in class org.jboss.forge.roaster.Roaster
-
Read the given string and parse its data into a new
JavaTypeinstance of the given type. - parse(Class<T>, URL) - Static method in class org.jboss.forge.roaster.Roaster
- parse(String) - Static method in class org.jboss.forge.roaster.Roaster
-
Parse the given String data into a new
JavaTypeinstance. - parse(URL) - Static method in class org.jboss.forge.roaster.Roaster
- ParserException - Exception in org.jboss.forge.roaster
-
ParserExceptionis the exception which is thrown if a parsing process fails. - ParserException() - Constructor for exception org.jboss.forge.roaster.ParserException
-
Constructs a new
ParserExceptionwith no problems, anullerror message and anullcause. - ParserException(String) - Constructor for exception org.jboss.forge.roaster.ParserException
-
Constructs a new
ParserExceptionwith no problems, the given error message and anullcause. - ParserException(String, Throwable) - Constructor for exception org.jboss.forge.roaster.ParserException
-
Constructs a new
ParserExceptionwith no problems, the given error message and the given cause. - ParserException(String, List<Problem>) - Constructor for exception org.jboss.forge.roaster.ParserException
-
Constructs a new
ParserExceptionwith the given problems, the given error message and anullcause. - ParserException(Throwable) - Constructor for exception org.jboss.forge.roaster.ParserException
-
Constructs a new
ParserExceptionwith no problems, anullerror message and the given cause. - ParserException(List<Problem>) - Constructor for exception org.jboss.forge.roaster.ParserException
-
Constructs a new
ParserExceptionwith the given problems, a error message constructed from the problems list and anullcause. - parseUnit(InputStream) - Static method in class org.jboss.forge.roaster.Roaster
-
Read the given
InputStreamand parse its data into a newJavaUnitinstance of the given type. - parseUnit(String) - Static method in class org.jboss.forge.roaster.Roaster
- parseUnit(String) - Method in interface org.jboss.forge.roaster.spi.JavaParser
-
Read the given source and parse the data into a new
JavaUnitinstance. - PRIVATE - Enum constant in enum class org.jboss.forge.roaster.model.Visibility
- Problem - Class in org.jboss.forge.roaster
-
During the parsing of code, problems can occur which can be wrapped inside a object with this class.
- Problem(String, int, int, int) - Constructor for class org.jboss.forge.roaster.Problem
-
Constructs a new
Problemwith the given attributes. - Property<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
A
Propertyis a convenience construct depicting a simple Java bean property. - PropertyHolder<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may contain property definitions. - PropertyHolderSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat may containPropertySourcedefinitions. - PropertySource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Source variant of
Propertyinterface. - PROTECTED - Enum constant in enum class org.jboss.forge.roaster.model.Visibility
- PUBLIC - Enum constant in enum class org.jboss.forge.roaster.model.Visibility
R
- rebuildGenericNameWithArrays(String, Type<O>) - Static method in class org.jboss.forge.roaster.model.util.Types
- Refactory - Class in org.jboss.forge.roaster.model.util
-
Utility refactory methods for
JavaClassSourceobjects - 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
AnnotationTargetSource. - 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
AnnotationTargetSource. - removeAnnotationElement(AnnotationElement<?>) - Method in interface org.jboss.forge.roaster.model.source.JavaAnnotationSource
-
Remove the given
AnnotationElementfrom thisJavaAnnotationSourceinstance, if it exists; otherwise, do nothing. - removeAnnotationValue(String, Annotation<O>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Remove
elementfrom the array of values associated with the specified annotation element. - removeAnnotationValue(Annotation<O>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
-
Remove
elementfrom the array of values associated with the"value"annotation element. - removeBody() - Method in interface org.jboss.forge.roaster.model.source.EnumConstantSource
-
Remove the
EnumConstantSource.Bodyof this enum constant. - removeBounds() - Method in interface org.jboss.forge.roaster.model.source.TypeVariableSource
-
Remove any bounds declared on this type variable.
- removeField() - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Remove the storing field.
- removeField(Field<O>) - Method in interface org.jboss.forge.roaster.model.source.FieldHolderSource
-
Remove the given
Fieldfrom thisFieldHolderSourceinstance, if it exists; otherwise, do nothing. - removeImport(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.Importer
- removeImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Remove any
Importfor the given fully-qualified class name, if it exists; otherwise, do nothing; - removeImport(Import) - Method in interface org.jboss.forge.roaster.model.source.Importer
- removeImport(T) - Method in interface org.jboss.forge.roaster.model.source.Importer
- removeInterface(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Removes the specified interface
- removeInterface(String) - Method in interface org.jboss.forge.roaster.model.source.InterfaceCapableSource
-
Removes the specified interface FQN
- 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
-
Remove the associated
JavaDoc - removeMethod(Method<O, ?>) - Method in interface org.jboss.forge.roaster.model.source.MethodHolderSource
-
Remove the given
MethodSourcedeclaration from thisMethodHolderSourceinstance, 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(Class<?>, String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a parameter with the specified
Classtype 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
JavaTypetype and name to this method - removeParameter(ParameterSource<O>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a parameter from this method
- removeProperty(Property<O>) - Method in interface org.jboss.forge.roaster.model.source.PropertyHolderSource
-
Remove the given
Propertyfrom thisPropertyHolderSourceinstance, if it exists; otherwise, do nothing. - removeRecordComponent(String) - Method in interface org.jboss.forge.roaster.model.source.JavaRecordSource
- removeRecordComponent(JavaRecordComponent) - Method in interface org.jboss.forge.roaster.model.source.JavaRecordSource
- removeTag(JavaDocTag) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Removes the given
JavaDocTag - removeTags(String) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Removes the given tagName from this
JavaDoc - removeThrows(Class<? extends Exception>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a thrown
Exceptionto this method's signature. - removeThrows(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Remove a thrown
Exceptionto 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
- requiresImport(String) - Method in interface org.jboss.forge.roaster.model.source.Importer
-
Return whether or not this
Importerwould 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
JavaTypeinstances.
S
- scope() - Method in enum class 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 class 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(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.
- setBounds(JavaType<?>...) - 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(Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setClassArrayValue(String, Class<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setClassValue(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setClassValue(String, 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
PackagedSourceto 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(Enum<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setEnumArrayValue(String, Enum<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setEnumValue(Enum<?>...) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setEnumValue(String, 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.
- setFinal(boolean) - Method in interface org.jboss.forge.roaster.model.source.JavaRecordComponentSource
- setFullText(String) - Method in interface org.jboss.forge.roaster.model.source.JavaDocSource
-
Sets the whole
JavaDoctext, 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
NamedSourceinstance. - setNative(boolean) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Sets this method to be native IMPORTANT: Setting it to
truewill remove the method body. - setPackage(String) - Method in interface org.jboss.forge.roaster.model.source.PackagedSource
-
Set this
PackagedSource' package. - setPackagePrivate() - Method in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
- setParameters(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Method's parameters. - 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
Methodto return the given type. - setReturnType(String) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Methodto return the given type. - setReturnType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Methodto return the given type. - setReturnType(Type<?>) - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Methodto return the given type. - setReturnTypeVoid() - Method in interface org.jboss.forge.roaster.model.source.MethodSource
-
Set this
Methodto 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[]) - Method in interface org.jboss.forge.roaster.model.source.AnnotationSource
- setStringArrayValue(String, 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(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.
- setSuperType(JavaType<?>) - 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
-
Set the type of this
AnnotationElementto the givenClasstype. - setType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
- setType(Class<?>) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
- setType(String) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource
-
Set the type of this
AnnotationElementto the given type. - setType(String) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
Set the type of this
Fieldto the given type. - setType(String) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
-
Set the type of this
Propertyto the given type. - setType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.AnnotationElementSource
-
Set the type of this
AnnotationElementto the givenJavaSource<?>type. - setType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.FieldSource
-
Set the type of this
Fieldto the givenJavaSource<?>type. - setType(JavaType<?>) - Method in interface org.jboss.forge.roaster.model.source.PropertySource
- 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
-
Describes a syntax problem in a
JavaClass.
T
- tokenizeClassName(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Splits the given class name into is parts which are separated by a '.'.
- toPrimitive(String) - Static method in class org.jboss.forge.roaster.model.util.Types
- toResolvedType(String, Importer<?>) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Resolves the given type including generics.
- toSignature() - Method in interface org.jboss.forge.roaster.model.Method
-
Convert this
Methodinto a string representing its unique signature. - toSimpleName(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Calculates the simple name of the given type including all generics.
- toString() - Method in enum class org.jboss.forge.roaster.model.Visibility
- toString() - Method in class org.jboss.forge.roaster.Problem
- toString(InputStream) - Static method in class org.jboss.forge.roaster.Streams
-
Return a
Stringcontaining the contents of the givenInputStream. - toUnformattedString() - Method in interface org.jboss.forge.roaster.model.JavaType
-
Return the generated code without any formatting.
- toUnformattedString() - Method in interface org.jboss.forge.roaster.model.JavaUnit
-
Return the generated code without any formatting.
- Type<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
- TypeHolder<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a
JavaTypethat may declare types. - TypeHolderSource<T extends JavaSource<T>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a
JavaSourcethat may declare types. - Types - Class in org.jboss.forge.roaster.model.util
-
Util classes for java types.
- TypeVariable<O extends JavaType<O>> - Interface in org.jboss.forge.roaster.model
-
Represents a type variable of a
GenericCapableJavaType. - TypeVariableSource<O extends JavaSource<O>> - Interface in org.jboss.forge.roaster.model.source
-
Represents a type variable of a
GenericCapableSourceJavaSource.
V
- validateGenerics(String) - Static method in class org.jboss.forge.roaster.model.util.Types
-
Checks if the generics are valid of this given type.
- validateSnippet(String) - Static method in class org.jboss.forge.roaster.Roaster
- validateSnippet(String) - Method in interface org.jboss.forge.roaster.spi.JavaParser
-
Checks which problems occur while parsing the provided source code.
- valueOf(String) - Static method in enum class org.jboss.forge.roaster.model.Visibility
-
Returns the enum constant of this class with the specified name.
- ValuePair - Interface in org.jboss.forge.roaster.model
- values() - Static method in enum class org.jboss.forge.roaster.model.Visibility
-
Returns an array containing the constants of this enum class, in the order they are declared.
- Visibility - Enum Class in org.jboss.forge.roaster.model
- VisibilityScoped - Interface in org.jboss.forge.roaster.model
-
Represents a Java element that has a certain visibility scope.
- VisibilityScopedSource<T> - Interface in org.jboss.forge.roaster.model.source
-
Represents a Java source element that has a certain visibility scope.
W
- WILDCARD - Static variable in interface org.jboss.forge.roaster.model.source.Import
- WildcardImportResolver - Interface in org.jboss.forge.roaster.spi
-
Responsible for providing additional import resolution functionality for situations where classes have referenced a package or wild-card import.
- write(InputStream, OutputStream) - Static method in class org.jboss.forge.roaster.Streams
-
Writes the content of the source stream to the destination stream.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
Refactory.createHashCodeAndEquals(JavaClassSource, FieldSource...)instead, since this method relies on the existence of the id field