|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JavaSource | |
|---|---|
| org.jboss.forge.parser | |
| org.jboss.forge.parser.java | |
| org.jboss.forge.parser.spi | |
| Uses of JavaSource in org.jboss.forge.parser |
|---|
| Methods in org.jboss.forge.parser with type parameters of type JavaSource | ||
|---|---|---|
static
|
JavaParser.create(Class<T> type)
Create a new empty JavaClass instance. |
|
static
|
JavaParser.parse(Class<T> type,
char[] data)
Read the given character array and parse its data into a new JavaSource instance of the given type. |
|
static
|
JavaParser.parse(Class<T> type,
File file)
Read the given File and parse its data into a new JavaSource instance of the given type. |
|
static
|
JavaParser.parse(Class<T> type,
InputStream data)
Read the given InputStream and parse its data into a new JavaSource instance of the given type. |
|
static
|
JavaParser.parse(Class<T> type,
String data)
Read the given string and parse its data into a new JavaSource instance of the given type. |
|
| Methods in org.jboss.forge.parser that return JavaSource | |
|---|---|
static JavaSource<?> |
JavaParser.parse(char[] data)
Parse the given character array into a new JavaClass instance. |
static JavaSource<?> |
JavaParser.parse(File file)
Open the given File, parsing its contents into a new JavaClass instance. |
static JavaSource<?> |
JavaParser.parse(InputStream data)
Read the given InputStream and parse the data into a new JavaClass instance. |
static JavaSource<?> |
JavaParser.parse(String data)
Parse the given String data into a new JavaClass instance. |
| Uses of JavaSource in org.jboss.forge.parser.java |
|---|
| Classes in org.jboss.forge.parser.java with type parameters of type JavaSource | |
|---|---|
interface |
Extendable<O extends JavaSource<O>>
Represents a JavaSource that can extend other types. |
interface |
Importer<O extends JavaSource<?>>
|
interface |
InterfaceCapable<T extends JavaSource<T>>
|
interface |
JavaSource<T extends JavaSource<T>>
|
interface |
JavaType<T extends JavaSource<T>>
|
| Subinterfaces of JavaSource in org.jboss.forge.parser.java | |
|---|---|
interface |
JavaAnnotation
Represents a Java Annotation source file as an in-memory modifiable
element. |
interface |
JavaClass
Represents a Java Class or interface source file as an in-memory modifiable element. |
interface |
JavaEnum
Represents a Java Enum source file as an in-memory modifiable element. |
interface |
JavaInterface
|
interface |
JavaType<T extends JavaSource<T>>
|
| Methods in org.jboss.forge.parser.java with type parameters of type JavaSource | ||
|---|---|---|
|
Importer.addImport(T type)
Add an import for the given JavaSource type. |
|
|
Importer.getImport(T type)
Get the Import for the given T type, if it exists; otherwise, return null; |
|
|
Importer.hasImport(T type)
Return whether or not this O has an import for the given T type. |
|
|
Importer.removeImport(T type)
Remove any Import for the given T type, if it exists; otherwise, do nothing; |
|
| Methods in org.jboss.forge.parser.java with parameters of type JavaSource | |
|---|---|
Method<O> |
Method.setReturnType(JavaSource<?> type)
Set this Method to return the given JavaSource type. |
Field<O> |
Field.setType(JavaSource<?> entity)
Set the type of this Field to the given JavaSource> type. |
| Uses of JavaSource in org.jboss.forge.parser.spi |
|---|
| Methods in org.jboss.forge.parser.spi with type parameters of type JavaSource | ||
|---|---|---|
|
JavaParserProvider.create(Class<T> type)
Create a new empty JavaClass instance. |
|
|
JavaParserProvider.parse(Class<T> type,
char[] data)
Read the given character array and parse its data into a new JavaSource instance of the given type. |
|
|
JavaParserProvider.parse(Class<T> type,
File file)
Read the given File and parse its data into a new JavaSource instance of the given type. |
|
|
JavaParserProvider.parse(Class<T> type,
InputStream data)
Read the given InputStream and parse its data into a new JavaSource instance of the given type. |
|
|
JavaParserProvider.parse(Class<T> type,
String data)
Read the given string and parse its data into a new JavaSource instance of the given type. |
|
| Methods in org.jboss.forge.parser.spi that return JavaSource | |
|---|---|
JavaSource<?> |
JavaParserProvider.parse(char[] data)
Parse the given character array into a new JavaSource instance. |
JavaSource<?> |
JavaParserProvider.parse(File file)
Open the given File, parsing its contents into a new JavaSource instance. |
JavaSource<?> |
JavaParserProvider.parse(InputStream data)
Read the given InputStream and parse the data into a new JavaSource instance. |
JavaSource<?> |
JavaParserProvider.parse(String data)
Parse the given String data into a new JavaSource instance. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||