Skip navigation links
A C D E F G H I L N O P S T U V W 

A

add(WeaveInterest) - Method in class org.apache.commons.weaver.model.ScanRequest
Register a WeaveInterest.
addAnnotations(Annotation...) - Method in class org.apache.commons.weaver.model.Weavable
Add one or more annotations.
addAnnotations(Iterable<Annotation>) - Method in class org.apache.commons.weaver.model.Weavable
Add annotations from an Iterable.
addSupertypes(Class<?>...) - Method in class org.apache.commons.weaver.model.ScanRequest
Register one or more types whose subtypes you are looking for.
AnnotatedElements<T extends AnnotatedElement> - Interface in org.apache.commons.weaver.model
Interface defining a means of iterating over a particular type of AnnotatedElement as well as filtering by annotation type (including annotations with RetentionPolicy.CLASS retention in addition to those with RetentionPolicy.RUNTIME retention.
Annotations - Class in org.apache.commons.weaver.utils
Provide annotation-related utility methods.
annotationType - Variable in class org.apache.commons.weaver.model.WeaveInterest
Observed annotation type.
Args - Class in org.apache.commons.weaver.utils
Argument/Parameter-related utilities.

C

classLoader - Variable in class org.apache.commons.weaver.model.WeaveEnvironment
ClassLoader containing scannable and weavable classes.
clean() - Method in class org.apache.commons.weaver.CleanProcessor
Clean specified targets.
Clean() - Constructor for class org.apache.commons.weaver.lifecycle.WeaveLifecycleToken.Clean
 
clean(WeaveEnvironment, Scanner) - Method in interface org.apache.commons.weaver.spi.Cleaner
Using the supplied Scanner, clean a WeaveEnvironment.
Cleaner - Interface in org.apache.commons.weaver.spi
SPI to provide a means for a weaver module to remove woven classes during incremental builds, if necessary.
CleanProcessor - Class in org.apache.commons.weaver
CleanProcessor(List<String>, File, Properties) - Constructor for class org.apache.commons.weaver.CleanProcessor
Create a new CleanProcessor instance using the ServiceLoader mechanism.
CleanProcessor(List<String>, File, Properties, Iterable<Cleaner>) - Constructor for class org.apache.commons.weaver.CleanProcessor
Create a new CleanProcessor instance.
compare(Class<?>[], Class<?>[]) - Static method in class org.apache.commons.weaver.utils.Args
Compare two parameter type arrays.
compareTo(SELF) - Method in class org.apache.commons.weaver.model.NestedWeavable
Implement Comparable.
compareTo(WeavablePackage) - Method in class org.apache.commons.weaver.model.WeavablePackage
Implement Comparable.
config - Variable in class org.apache.commons.weaver.model.WeaveEnvironment
Configuration properties.
Consumes - Annotation Type in org.apache.commons.weaver
Mark a WeaveLifecycleProvider as consuming the output of additional WeaveLifecycleProviders for the same lifecycle stage.
createParameter(int) - Method in class org.apache.commons.weaver.model.WeavableConstructor
Create an appropriate WeavableParameter object.
createParameter(int) - Method in class org.apache.commons.weaver.model.WeavableExecutable
Create an appropriate WeavableParameter object.
createParameter(int) - Method in class org.apache.commons.weaver.model.WeavableMethod
Create an appropriate WeavableParameter object.

D

debug(String, Object...) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Handle a debug message.
deleteClassfile(Class<?>) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Delete the classfile for cls.
deleteClassfile(String) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Delete the classfile for the specified class.
deleteResource(String) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Delete the specified resource.

E

equals(Object) - Method in class org.apache.commons.weaver.model.Weavable
error(String, Object...) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Handle an error message.

F

fromFiles(Iterable<File>) - Static method in class org.apache.commons.weaver.utils.URLArray
Convert an Iterable of Files.
fromPaths(Iterable<String>) - Static method in class org.apache.commons.weaver.utils.URLArray
Convert an Iterable of filesystem paths.

G

getAnnotation(Class<T>) - Method in class org.apache.commons.weaver.model.Weavable
Get any instance of annotationClass attached to Weavable.getTarget().
getAnnotations() - Method in class org.apache.commons.weaver.model.Weavable
Get all Annotations associated with this element.
getClasses() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableClasses.
getClasses() - Method in class org.apache.commons.weaver.model.WeavablePackage
Get enclosed WeavableClasses.
getClassesAssignableTo(Class<?>) - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableClasses assignable to supertype.
getClassfile(Class<?>) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Get a WeaveEnvironment.Resource representing cls.
getClassfile(String) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Get a WeaveEnvironment.Resource for the specified class.
getConstructorParameters() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableConstructorParameters.
getConstructors() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableConstructors.
getConstructors() - Method in class org.apache.commons.weaver.model.WeavableClass
getContentType() - Method in class org.apache.commons.weaver.model.WeaveEnvironment.Resource
Get the content type, always "application/octet-stream".
getDeclaredAnnotations() - Method in class org.apache.commons.weaver.model.Weavable
Overridden to return Weavable.getAnnotations().
getFields() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableFields.
getFields() - Method in class org.apache.commons.weaver.model.WeavableClass
getInputStream() - Method in class org.apache.commons.weaver.model.WeaveEnvironment.Resource
Get an InputStream for reading this WeaveEnvironment.Resource.
getInterests() - Method in class org.apache.commons.weaver.model.ScanRequest
Get registered WeaveInterests.
getMethodParameters() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableMethodParameters.
getMethods() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavableMethods.
getMethods() - Method in class org.apache.commons.weaver.model.WeavableClass
getName() - Method in class org.apache.commons.weaver.model.WeaveEnvironment.Resource
Get the name of this WeaveEnvironment.Resource.
getOutputStream(String) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Open an OutputStream for the specified resource.
getOutputStream() - Method in class org.apache.commons.weaver.model.WeaveEnvironment.Resource
Get an OutputStream for writing to this WeaveEnvironment.Resource.
getPackages() - Method in class org.apache.commons.weaver.model.ScanResult
Iterate or filter WeavablePackages.
getParameters() - Method in class org.apache.commons.weaver.model.WeavableExecutable
Get the parameters declared by this WeavableExecutable.
getParameterTypes() - Method in class org.apache.commons.weaver.model.WeavableConstructor
Get the parameter types of Weavable.getTarget().
getParameterTypes() - Method in class org.apache.commons.weaver.model.WeavableExecutable
Get the parameter types of Weavable.getTarget().
getParameterTypes() - Method in class org.apache.commons.weaver.model.WeavableMethod
Get the parameter types of Weavable.getTarget().
getParent() - Method in class org.apache.commons.weaver.model.NestedWeavable
Get the parent.
getResource(String) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Get a WeaveEnvironment.Resource for the specified resource.
getResourceName(String) - Static method in class org.apache.commons.weaver.model.WeaveEnvironment
Convert a classname into a resource name.
getSupertypes() - Method in class org.apache.commons.weaver.model.ScanRequest
Get registered Classes whose subtypes will be returned.
getTarget() - Method in class org.apache.commons.weaver.model.Weavable
Get the target of this Weavable.
getWeavable(Package) - Method in class org.apache.commons.weaver.model.ScanResult
Public for use by WeaveProcessor.
getWeavable(Class<T>) - Method in class org.apache.commons.weaver.model.ScanResult
Public for use by WeaveProcessor.
getWeavable(Field) - Method in class org.apache.commons.weaver.model.ScanResult
Public for use by WeaveProcessor.
getWeavable(Method) - Method in class org.apache.commons.weaver.model.ScanResult
Public for use by WeaveProcessor.
getWeavable(Constructor<T>) - Method in class org.apache.commons.weaver.model.ScanResult
Public for use by WeaveProcessor.
getWeavable(Field) - Method in class org.apache.commons.weaver.model.WeavableClass
Get a WeavableField representing fld.
getWeavable(Method) - Method in class org.apache.commons.weaver.model.WeavableClass
Get a WeavableMethod representing mt.
getWeavable(Constructor<T>) - Method in class org.apache.commons.weaver.model.WeavableClass
Get a WeavableConstructor representing ctor.
getWeavable(Class<T>) - Method in class org.apache.commons.weaver.model.WeavablePackage
Get a WeavableClass representing cls.
getWeavableParameter(int) - Method in class org.apache.commons.weaver.model.WeavableExecutable
Get the parameter at the specified index.

H

hashCode() - Method in class org.apache.commons.weaver.model.Weavable

I

info(String, Object...) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Handle an info message.
instanceOf(Class<A>, Map<String, ?>) - Static method in class org.apache.commons.weaver.utils.Annotations
Create an annotation instance.
isAnnotationPresent(Class<? extends Annotation>) - Method in class org.apache.commons.weaver.model.Weavable
Learn whether an annotation of type annotationClass is present.
isConstrained() - Method in class org.apache.commons.weaver.model.ScanRequest
Learn whether this ScanRequest has been constrained.

L

localCompareTo(SELF) - Method in class org.apache.commons.weaver.model.NestedWeavable
Compare against o without respect to NestedWeavable.getParent().
localCompareTo(WeavableClass<T>) - Method in class org.apache.commons.weaver.model.WeavableClass
Compare against o without respect to NestedWeavable.getParent().
localCompareTo(SELF) - Method in class org.apache.commons.weaver.model.WeavableExecutable
Compare against o without respect to NestedWeavable.getParent().
localCompareTo(WeavableField<T>) - Method in class org.apache.commons.weaver.model.WeavableField
Compare against o without respect to NestedWeavable.getParent().
localCompareTo(WeavableMethod<T>) - Method in class org.apache.commons.weaver.model.WeavableMethod
Compare against o without respect to NestedWeavable.getParent().
localCompareTo(SELF) - Method in class org.apache.commons.weaver.model.WeavableParameter
Compare against o without respect to NestedWeavable.getParent().

N

NestedWeavable<SELF extends NestedWeavable<SELF,TARGET,PARENT,PARENT_TARGET>,TARGET,PARENT extends Weavable<PARENT,PARENT_TARGET>,PARENT_TARGET> - Class in org.apache.commons.weaver.model
Describes a Weavable that lives inside some other Weavable.
NestedWeavable(TARGET, PARENT) - Constructor for class org.apache.commons.weaver.model.NestedWeavable
Create a new NestedWeavable instance.

O

of(Class<? extends Annotation>, ElementType) - Static method in class org.apache.commons.weaver.model.WeaveInterest
org.apache.commons.weaver - package org.apache.commons.weaver
Defines the objects needed to perform filesystem-based weaving.
org.apache.commons.weaver.lifecycle - package org.apache.commons.weaver.lifecycle
Weave lifecycle package.
org.apache.commons.weaver.model - package org.apache.commons.weaver.model
Defines a domain model for weaving operations.
org.apache.commons.weaver.spi - package org.apache.commons.weaver.spi
Defines the weaver module service provider interface (SPI).
org.apache.commons.weaver.utils - package org.apache.commons.weaver.utils
Provides helpful utility classes.

P

process(WeaveEnvironment, Scanner) - Method in interface org.apache.commons.weaver.spi.Weaver
Using the supplied Scanner, process a WeaveEnvironment.
Produces - Annotation Type in org.apache.commons.weaver
Mark a WeaveLifecycleProvider as creating output that is consumed by additional WeaveLifecycleProviders for the same lifecycle stage.
Providers - Class in org.apache.commons.weaver.utils
Utility for working with WeaveLifecycleProvider types.

S

scan(ScanRequest) - Method in interface org.apache.commons.weaver.model.Scanner
Perform the requested scan.
Scanner - Interface in org.apache.commons.weaver.model
Scanner interface.
ScanRequest - Class in org.apache.commons.weaver.model
Scan request object describing the types of elements in which a given Weaver or Cleaner is interested.
ScanRequest() - Constructor for class org.apache.commons.weaver.model.ScanRequest
 
ScanResult - Class in org.apache.commons.weaver.model
Encapsulates the result of scanning based on a ScanRequest.
ScanResult() - Constructor for class org.apache.commons.weaver.model.ScanResult
 
sort(Iterable<P>) - Static method in class org.apache.commons.weaver.utils.Providers
Sort the specified providers with respect to declared Consumes and Produces annotations.

T

target - Variable in class org.apache.commons.weaver.model.WeaveInterest
Attached element type.
toString() - Method in class org.apache.commons.weaver.model.Weavable
Return a String representation of this Weavable.
toString() - Method in class org.apache.commons.weaver.model.WeavablePackage
Return a String representation of this Weavable.

U

URLArray - Class in org.apache.commons.weaver.utils
URL Array utilities.

V

valueOf(String) - Static method in enum org.apache.commons.weaver.lifecycle.WeaveLifecycle
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.apache.commons.weaver.lifecycle.WeaveLifecycle
Returns an array containing the constants of this enum type, in the order they are declared.
verbose(String, Object...) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Handle a verbose message.

W

warn(String, Object...) - Method in class org.apache.commons.weaver.model.WeaveEnvironment
Handle a warning message.
Weavable<SELF extends Weavable<SELF,TARGET>,TARGET> - Class in org.apache.commons.weaver.model
Weavable extends AnnotatedElement to include RetentionPolicy.CLASS annotations.
Weavable(TARGET) - Constructor for class org.apache.commons.weaver.model.Weavable
Create a new Weavable instance.
WeavableClass<T> - Class in org.apache.commons.weaver.model
WeavableClass(Class<T>, WeavablePackage) - Constructor for class org.apache.commons.weaver.model.WeavableClass
Create a new WeavableClass instance.
WeavableConstructor<T> - Class in org.apache.commons.weaver.model
WeavableConstructor(Constructor<T>, WeavableClass<T>) - Constructor for class org.apache.commons.weaver.model.WeavableConstructor
Create a new WeavableConstructor instance.
WeavableConstructorParameter<T> - Class in org.apache.commons.weaver.model
WeavableConstructorParameter(Integer, WeavableConstructor<T>) - Constructor for class org.apache.commons.weaver.model.WeavableConstructorParameter
Create a new WeavableConstructorParameter instance.
WeavableExecutable<SELF extends WeavableExecutable<SELF,TARGET,T,P>,TARGET extends Member,T,P extends WeavableParameter<P,SELF,TARGET,T>> - Class in org.apache.commons.weaver.model
Represents a Weavable "executable".
WeavableExecutable(TARGET, WeavableClass<T>) - Constructor for class org.apache.commons.weaver.model.WeavableExecutable
Create a new WeavableExecutable instance.
WeavableField<T> - Class in org.apache.commons.weaver.model
Represents a Weavable Field.
WeavableField(Field, WeavableClass<T>) - Constructor for class org.apache.commons.weaver.model.WeavableField
Create a new WeavableField instance.
WeavableMethod<T> - Class in org.apache.commons.weaver.model
Represents a Weavable Method.
WeavableMethod(Method, WeavableClass<T>) - Constructor for class org.apache.commons.weaver.model.WeavableMethod
Create a new WeavableMethod instance.
WeavableMethodParameter<T> - Class in org.apache.commons.weaver.model
Weavable Method parameter.
WeavableMethodParameter(Integer, WeavableMethod<T>) - Constructor for class org.apache.commons.weaver.model.WeavableMethodParameter
Create a new WeavableMethodParameter instance.
WeavablePackage - Class in org.apache.commons.weaver.model
WeavablePackage(Package) - Constructor for class org.apache.commons.weaver.model.WeavablePackage
Create a new WeavablePackage instance.
WeavableParameter<SELF extends WeavableParameter<SELF,PARENT,PARENT_TARGET,T>,PARENT extends WeavableExecutable<PARENT,PARENT_TARGET,T,SELF>,PARENT_TARGET extends Member,T> - Class in org.apache.commons.weaver.model
Represents the parameter of an executable.
WeavableParameter(Integer, PARENT) - Constructor for class org.apache.commons.weaver.model.WeavableParameter
Create a new WeavableParameter instance.
Weave() - Constructor for class org.apache.commons.weaver.lifecycle.WeaveLifecycleToken.Weave
 
weave() - Method in class org.apache.commons.weaver.WeaveProcessor
Weave classes in target directory.
WeaveEnvironment - Class in org.apache.commons.weaver.model
Encapsulates the environment in which a Weaver or Cleaner must operate.
WeaveEnvironment(ClassLoader, Properties, Logger) - Constructor for class org.apache.commons.weaver.model.WeaveEnvironment
Create a new WeaveEnvironment.
WeaveEnvironment.Resource - Class in org.apache.commons.weaver.model
Represents a WeaveEnvironment resource.
WeaveInterest - Class in org.apache.commons.weaver.model
Weave interest composed of annotation type and target element type.
WeaveLifecycle - Enum in org.apache.commons.weaver.lifecycle
Defines the parts of the weave lifecycle.
WeaveLifecycleProvider<S extends WeaveLifecycleToken> - Interface in org.apache.commons.weaver.spi
Marker interface for commons-weaver lifecycle providers.
WeaveLifecycleToken - Class in org.apache.commons.weaver.lifecycle
Defines token classes corresponding to the elements of the WeaveLifecycle.
WeaveLifecycleToken() - Constructor for class org.apache.commons.weaver.lifecycle.WeaveLifecycleToken
 
WeaveLifecycleToken.Clean - Class in org.apache.commons.weaver.lifecycle
WeaveLifecycleToken.Represents - Annotation Type in org.apache.commons.weaver.lifecycle
Declares the association between a WeaveLifecycleToken and an element of the WeaveLifecycle.
WeaveLifecycleToken.Weave - Class in org.apache.commons.weaver.lifecycle
WeaveProcessor - Class in org.apache.commons.weaver
WeaveProcessor(List<String>, File, Properties) - Constructor for class org.apache.commons.weaver.WeaveProcessor
Create a new WeaveProcessor instance using the ServiceLoader mechanism.
WeaveProcessor(List<String>, File, Properties, Iterable<Weaver>) - Constructor for class org.apache.commons.weaver.WeaveProcessor
Create a new WeaveProcessor instance.
Weaver - Interface in org.apache.commons.weaver.spi
A Weaver implementation implements the WEAVE stage of the WeaveLifecycle by performing the byte code enhancement in the classes.
with(Class<? extends Annotation>) - Method in interface org.apache.commons.weaver.model.AnnotatedElements
Filter by annotation type.
A C D E F G H I L N O P S T U V W 
Skip navigation links

Copyright © 2018 The Apache Software Foundation. All rights reserved.