Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractClassFinder - Class in org.ocpsoft.rewrite.annotation.scan
-
Base class for implementations of the
ClassFinder
interface. - AbstractClassFinder(ServletContext, ClassLoader, PackageFilter, ByteCodeFilter) - Constructor for class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
Initialization procedure
- accept(InputStream) - Method in class org.ocpsoft.rewrite.annotation.scan.ByteCodeFilter
-
Checks whether that supplied
InputStream
contains a Java class file that might contain references to specific annotation types. - AnnotationConfigProvider - Class in org.ocpsoft.rewrite.annotation.config
- AnnotationConfigProvider() - Constructor for class org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider
B
- ByteCodeFilter - Class in org.ocpsoft.rewrite.annotation.scan
-
This class reads Java class files and checks whether they contain references to specific annotations.
- ByteCodeFilter(Set<Class<? extends Annotation>>) - Constructor for class org.ocpsoft.rewrite.annotation.scan.ByteCodeFilter
-
The filter must be initialized with a list of types to look for when scanning the class files.
C
- ClassContextImpl - Class in org.ocpsoft.rewrite.annotation.context
- ClassContextImpl(ConfigurationBuilder, Class<?>) - Constructor for class org.ocpsoft.rewrite.annotation.context.ClassContextImpl
- classLoader - Variable in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
The
ClassLoader
to get classes from - ClassVisitorImpl - Class in org.ocpsoft.rewrite.annotation
- ClassVisitorImpl(List<AnnotationHandler<Annotation>>, Object) - Constructor for class org.ocpsoft.rewrite.annotation.ClassVisitorImpl
-
The visitor must be initialized with the handlers to call for specific annotations
- CONFIG_BASE_PACKAGES - Static variable in class org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider
- CONFIG_SCAN_CLASSES_DIR - Static variable in class org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider
- CONFIG_SCAN_LIB_DIR - Static variable in class org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider
F
- FieldContextImpl - Class in org.ocpsoft.rewrite.annotation.context
-
Default implementation of
FieldContext
- FieldContextImpl(ClassContext, Field) - Constructor for class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- findClasses(ClassVisitor) - Method in class org.ocpsoft.rewrite.annotation.scan.WebClassesFinder
- findClasses(ClassVisitor) - Method in class org.ocpsoft.rewrite.annotation.scan.WebLibFinder
G
- getAnnotation(Class<T>) - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
- getAnnotations() - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
- getClassContext() - Method in class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- getClassContext() - Method in class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- getClassContext() - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- getClassName(String) - Static method in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
Creates a FQCN from an
URL
representing a.class
file. - getConfiguration(ServletContext) - Method in class org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider
- getConfigurationBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.ClassContextImpl
- getConfigurationBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- getConfigurationBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- getConfigurationBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- getDeclaredAnnotations() - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
- getDeclaringMethod() - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
- getIndex() - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
- getJavaClass() - Method in class org.ocpsoft.rewrite.annotation.context.ClassContextImpl
- getJavaClass() - Method in class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- getJavaClass() - Method in class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- getJavaClass() - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- getJavaField() - Method in class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- getJavaMethod() - Method in class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- getJavaParameter() - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- getMethodContext() - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- getNumberOfBasePackages() - Method in class org.ocpsoft.rewrite.annotation.scan.PackageFilter
-
Returns the total number of base packages that this instance is holding.
- getRuleBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.ClassContextImpl
- getRuleBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- getRuleBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- getRuleBuilder() - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- getRules() - Method in class org.ocpsoft.rewrite.annotation.ClassVisitorImpl
- getType() - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
H
- HandlerChainImpl - Class in org.ocpsoft.rewrite.annotation
- HandlerChainImpl(ClassContext, AnnotatedElement, List<? extends AnnotationHandler<?>>) - Constructor for class org.ocpsoft.rewrite.annotation.HandlerChainImpl
- hasRuleBuildingStarted() - Method in class org.ocpsoft.rewrite.annotation.context.ClassContextImpl
I
- isAllowedPackage(String) - Method in class org.ocpsoft.rewrite.annotation.scan.PackageFilter
-
Checks whether the supplied packages matches the filter.
- isAnnotationPresent(Class<? extends Annotation>) - Method in class org.ocpsoft.rewrite.annotation.ParameterImpl
L
- log - Variable in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
Common logger for all implementations
M
- MethodContextImpl - Class in org.ocpsoft.rewrite.annotation.context
-
Default implementation of
MethodContext
- MethodContextImpl(ClassContext, Method) - Constructor for class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- mustProcessClass(String) - Method in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
Checks if a supplied class has to be processed by checking the package name against the
PackageFilter
.
O
- org.ocpsoft.rewrite.annotation - package org.ocpsoft.rewrite.annotation
- org.ocpsoft.rewrite.annotation.config - package org.ocpsoft.rewrite.annotation.config
- org.ocpsoft.rewrite.annotation.context - package org.ocpsoft.rewrite.annotation.context
- org.ocpsoft.rewrite.annotation.scan - package org.ocpsoft.rewrite.annotation.scan
P
- packageFilter - Variable in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
The filter for checking which classes to process
- PackageFilter - Class in org.ocpsoft.rewrite.annotation.scan
-
This class represents a package filter specified by the
com.ocpsoft.pretty.SCAN_PACKAGES
initialization parameter. - PackageFilter(String) - Constructor for class org.ocpsoft.rewrite.annotation.scan.PackageFilter
-
Creates a new
PackageFilter
- ParameterContextImpl - Class in org.ocpsoft.rewrite.annotation.context
-
Default implementation of
ParameterContext
- ParameterContextImpl(MethodContext, Parameter) - Constructor for class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- ParameterImpl - Class in org.ocpsoft.rewrite.annotation
- ParameterImpl(Method, Class<?>, Annotation[], int) - Constructor for class org.ocpsoft.rewrite.annotation.ParameterImpl
- priority() - Method in class org.ocpsoft.rewrite.annotation.config.AnnotationConfigProvider
- priority() - Method in class org.ocpsoft.rewrite.annotation.scan.WebClassesFinder
- priority() - Method in class org.ocpsoft.rewrite.annotation.scan.WebLibFinder
- proceed() - Method in class org.ocpsoft.rewrite.annotation.HandlerChainImpl
- processClass(String, InputStream, ClassVisitor) - Method in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
Handle a single class to process.
- processDirectory(URL, String, ClassVisitor) - Method in class org.ocpsoft.rewrite.annotation.scan.WebClassesFinder
-
Scan for classes in a single directory.
S
- servletContext - Variable in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
The
ServletContext
- setBaseRule(Rule) - Method in class org.ocpsoft.rewrite.annotation.context.ClassContextImpl
- setBaseRule(Rule) - Method in class org.ocpsoft.rewrite.annotation.context.FieldContextImpl
- setBaseRule(Rule) - Method in class org.ocpsoft.rewrite.annotation.context.MethodContextImpl
- setBaseRule(Rule) - Method in class org.ocpsoft.rewrite.annotation.context.ParameterContextImpl
- stripKnownPrefix(String, String) - Method in class org.ocpsoft.rewrite.annotation.scan.AbstractClassFinder
-
Strip everything up to and including a given prefix from a string.
T
- toString() - Method in class org.ocpsoft.rewrite.annotation.scan.ByteCodeFilter
- toString() - Method in class org.ocpsoft.rewrite.annotation.scan.PackageFilter
V
- visit(Class<?>) - Method in class org.ocpsoft.rewrite.annotation.ClassVisitorImpl
-
Processes the annotation on the supplied class.
W
- WebClassesFinder - Class in org.ocpsoft.rewrite.annotation.scan
-
Implementation of
ClassFinder
that searches for classes in the/WEB-INF/classes
directory of a web application. - WebClassesFinder(ServletContext, ClassLoader, PackageFilter, ByteCodeFilter) - Constructor for class org.ocpsoft.rewrite.annotation.scan.WebClassesFinder
-
Initialization
- WebLibFinder - Class in org.ocpsoft.rewrite.annotation.scan
-
Implementation of
ClassFinder
that searches for classes in the JAR archives found in the/WEB-INF/lib/
directory of a web application. - WebLibFinder(ServletContext, ClassLoader, PackageFilter, ByteCodeFilter) - Constructor for class org.ocpsoft.rewrite.annotation.scan.WebLibFinder
-
Initialization
All Classes and Interfaces|All Packages|Constant Field Values