Forge - Java Parser Addon API 2.0.0.Alpha4
C E G J O P S V 

C

calculateName(JavaResource) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Return the class name for the given JavaResource whether it exists or not.
calculatePackage(JavaResource) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Return the package for the given JavaResource whether it exists or not.
create(Class<T>) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Create a new empty JavaClass instance.

E

EnumConstantResource - Interface in org.jboss.forge.parser.java.resources
A Resource representing a Java Enum

G

getBasePackage() - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Return the base Java Package for this project, returned as a String
getBasePackageResource() - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Return the base Java Package for this project, returned as a directory File
getJavaResource(String) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Return the JavaClass at the given path relative to JavaSourceFacet.getSourceFolder().
getJavaResource(JavaSource<?>) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Attempt to locate and re-parse the given JavaClass from its location on disk, relative to JavaSourceFacet.getSourceFolder().
getJavaSource() - Method in interface org.jboss.forge.parser.java.resources.JavaResource
Attempt to determine and return the JavaSource type of the underlying Class.
getSourceFolder() - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Get the DirectoryResource this Project uses to store package-able source documents (such as .java files.)
getSourceFolders() - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Get a list of DirectoryResources this project uses to contain Project source documents (such as .java files.)
getTestJavaResource(String) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Return the JavaClass at the given path relative to JavaSourceFacet.getTestSourceFolder().
getTestJavaResource(JavaSource<?>) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Attempt to locate and re-parse the given JavaClass from its location on disk, relative to JavaSourceFacet.getTestSourceFolder().
getTestSourceFolder() - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Get the DirectoryResource this Project uses to store test-scoped source documents (such as .java files.) Files in this directory will never be packaged or deployed except when running Unit Tests.

J

JavaFieldResource - Interface in org.jboss.forge.parser.java.resources
A Resource representing a Java Field
JavaMethodResource - Interface in org.jboss.forge.parser.java.resources
A Resource that represents a Java Method
JavaResource - Interface in org.jboss.forge.parser.java.resources
A Resource that represents a Java Class.
JavaResourceVisitor - Interface in org.jboss.forge.parser.java.resources
 
JavaSourceFacet - Interface in org.jboss.forge.parser.java.facets
 
JavaSourceFactory - Interface in org.jboss.forge.parser.java
 

O

org.jboss.forge.parser.java - package org.jboss.forge.parser.java
 
org.jboss.forge.parser.java.facets - package org.jboss.forge.parser.java.facets
 
org.jboss.forge.parser.java.resources - package org.jboss.forge.parser.java.resources
 

P

parse(File) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Open the given File, parsing its contents into a new JavaClass instance.
parse(InputStream) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Read the given InputStream and parse the data into a new JavaClass instance.
parse(char[]) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Parse the given character array into a new JavaClass instance.
parse(String) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Parse the given String data into a new JavaClass instance.
parse(Class<T>, File) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Read the given File and parse its data into a new JavaSource instance of the given type.
parse(Class<T>, InputStream) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Read the given InputStream and parse its data into a new JavaSource instance of the given type.
parse(Class<T>, char[]) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Read the given character array and parse its data into a new JavaSource instance of the given type.
parse(Class<T>, String) - Method in interface org.jboss.forge.parser.java.JavaSourceFactory
Read the given string and parse its data into a new JavaSource instance of the given type.

S

saveJavaSource(JavaSource<?>) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Create or update a Java file in the primary source directory: JavaSourceFacet.getSourceFolder() - use information in the given JavaSource to determine the appropriate package; packages will be created if necessary.
saveTestJavaSource(JavaSource<?>) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Create or update a Java file in the primary test source directory: JavaSourceFacet.getTestSourceFolder() - use information in the given JavaSource to determine the appropriate package; packages will be created if necessary.
setContents(JavaSource<?>) - Method in interface org.jboss.forge.parser.java.resources.JavaResource
Set the content of this Resource to the value of the given JavaSource.

V

visit(JavaResource) - Method in interface org.jboss.forge.parser.java.resources.JavaResourceVisitor
Called when a Java File is found.
visitJavaSources(JavaResourceVisitor) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Recursively loops over all the source directories and for each java file it finds, calls the visitor.
visitJavaTestSources(JavaResourceVisitor) - Method in interface org.jboss.forge.parser.java.facets.JavaSourceFacet
Recursively loops over all the test source directories and for each java file it finds, calls the visitor.
C E G J O P S V 
Forge - Java Parser Addon API 2.0.0.Alpha4

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.