Skip navigation links
A C D E F G H I J M N O P R S T V 

A

AbstractClassFileData - Class in org.cornutum.annotation
Base class for ClassData implementations that read a class definition from a file.
AbstractClassFileData() - Constructor for class org.cornutum.annotation.AbstractClassFileData
 
accept(File) - Method in class org.cornutum.annotation.ClassPathAnnotated
Returns true if this file will be included in the mapping.
accept(E) - Method in class org.cornutum.annotation.FlatMapIterator
Returns true if this element will be included in the mapping.
accept(JarEntryReader) - Method in class org.cornutum.annotation.JarAnnotated
Returns true if this JAR entry will be included in the mapping.
acceptAnnotation(String) - Method in class org.cornutum.annotation.AllAnnotated
Accepts any annotation.
acceptAnnotation(String) - Method in interface org.cornutum.annotation.AnnotationFilter
If the given raw type name identifies an accepted Annotation, returns the annotation class name.
acceptAnnotation(String) - Method in class org.cornutum.annotation.PackageFilter
If the given raw type name identifies an accepted Annotation, returns the annotation class.
acceptClass(String) - Method in class org.cornutum.annotation.AllAnnotated
Accepts annotated elements of any class.
acceptClass(String) - Method in interface org.cornutum.annotation.AnnotationFilter
Returns true if annotated elements of the given class are accepted.
acceptClass(String) - Method in class org.cornutum.annotation.PackageFilter
Returns true if the given class belongs to an accepted package.
AllAnnotated - Class in org.cornutum.annotation
An AnnotationFilter that accepts all annotated class elements.
AllAnnotated() - Constructor for class org.cornutum.annotation.AllAnnotated
 
allDirs(File) - Static method in class org.cornutum.annotation.Files
Returns all directories found in the given directory and its descendants.
allFiles(File) - Static method in class org.cornutum.annotation.Files
Returns all (non-directory) files found in the given directory and its descendants.
Annotated - Class in org.cornutum.annotation
Defines a class element that references a specified annotation.
Annotated(String, String, boolean, File) - Constructor for class org.cornutum.annotation.Annotated
Creates a new Annotated instance.
Annotated.Type - Enum in org.cornutum.annotation
 
AnnotatedClass - Class in org.cornutum.annotation
Defines a class that references a specified annotation.
AnnotatedClass(String, String, boolean) - Constructor for class org.cornutum.annotation.AnnotatedClass
Creates a new AnnotatedClass instance.
AnnotatedClass(String, String, boolean, File) - Constructor for class org.cornutum.annotation.AnnotatedClass
Creates a new AnnotatedClass instance.
AnnotatedClass(Class<? extends Annotation>, String, boolean, File) - Constructor for class org.cornutum.annotation.AnnotatedClass
Creates a new AnnotatedClass instance.
AnnotatedField - Class in org.cornutum.annotation
Defines a field that references a specified annotation.
AnnotatedField(String, String, String, boolean) - Constructor for class org.cornutum.annotation.AnnotatedField
Creates a new AnnotatedField instance.
AnnotatedField(String, String, String, boolean, File) - Constructor for class org.cornutum.annotation.AnnotatedField
Creates a new AnnotatedField instance.
AnnotatedField(Class<? extends Annotation>, String, String, boolean, File) - Constructor for class org.cornutum.annotation.AnnotatedField
Creates a new AnnotatedField instance.
AnnotatedMethod - Class in org.cornutum.annotation
Defines a method that references a specified annotation.
AnnotatedMethod(String, String, String, boolean) - Constructor for class org.cornutum.annotation.AnnotatedMethod
Creates a new AnnotatedMethod instance.
AnnotatedMethod(String, String, String, boolean, File) - Constructor for class org.cornutum.annotation.AnnotatedMethod
Creates a new AnnotatedMethod instance.
AnnotatedMethod(Class<? extends Annotation>, String, String, boolean, File) - Constructor for class org.cornutum.annotation.AnnotatedMethod
Creates a new AnnotatedMethod instance.
annotation(Class<? extends Annotation>...) - Method in class org.cornutum.annotation.PackageFilter
Adds to the set of accepted annotations.
annotation(String...) - Method in class org.cornutum.annotation.PackageFilter
Adds to the set of accepted annotations.
AnnotationFilter - Interface in org.cornutum.annotation
Defines criteria for finding an annotated class element.
append(Object) - Method in class org.cornutum.annotation.ToString
Appends String.valueOf( element).
append(String, Object) - Method in class org.cornutum.annotation.ToString
Appends the given name/value pair..

C

ClassData - Class in org.cornutum.annotation
An interface to the data for a class definition.
ClassData() - Constructor for class org.cornutum.annotation.ClassData
 
ClassEntryData - Class in org.cornutum.annotation
Provides access to the data for a class definition in a JAR file entry.
ClassEntryData(JarEntryReader) - Constructor for class org.cornutum.annotation.ClassEntryData
Creates a new ClassEntryReader instance.
ClassFileData - Class in org.cornutum.annotation
Provides access to the data for a class definition in a file.
ClassFileData(File) - Constructor for class org.cornutum.annotation.ClassFileData
Creates a new ClassFileData instance.
classFiles(File) - Static method in class org.cornutum.annotation.Files
Returns all class files found in the given directory and its descendants..
classPackage(String) - Static method in class org.cornutum.annotation.ClassData
Returns the name of the package for the given class.
ClassPathAnnotated - Class in org.cornutum.annotation
Returns selected Annotated instances from specified class path elements.
ClassPathAnnotated(Collection<File>, AnnotationFilter) - Constructor for class org.cornutum.annotation.ClassPathAnnotated
Creates a new ClassPathAnnotated instance.
classPathFor(String...) - Static method in class org.cornutum.annotation.Files
Returns the files on the current class path that contain the given packages.
classPathFor(ClassLoader, String...) - Static method in class org.cornutum.annotation.Files
Returns the files from the given ClassLoader that contain the given packages.
classPathFor(Collection<String>) - Static method in class org.cornutum.annotation.Files
Returns the files on the current class path that contain the given packages.
classPathFor(ClassLoader, Collection<String>) - Static method in class org.cornutum.annotation.Files
Returns the files from the given ClassLoader that contain the given packages.

D

DirectoryAnnotated - Class in org.cornutum.annotation
Returns selected Annotated instances from class files in the given directory.
DirectoryAnnotated(File, AnnotationFilter) - Constructor for class org.cornutum.annotation.DirectoryAnnotated
Creates a new DirAnnotated instance.

E

equals(Object) - Method in class org.cornutum.annotation.Annotated
 
equals(Object) - Method in class org.cornutum.annotation.AnnotatedClass
 
equals(Object) - Method in class org.cornutum.annotation.AnnotatedField
 
equals(Object) - Method in class org.cornutum.annotation.AnnotatedMethod
 

F

Files - Class in org.cornutum.annotation
Provides methods to handle files.
filter(AnnotationFilter) - Method in class org.cornutum.annotation.Finder
Find annotated class references accepted by the given filter.
find() - Method in class org.cornutum.annotation.Finder
Returns annotated elements found among the current class path elements.
Finder - Class in org.cornutum.annotation
Finds class elements associated with specified annotations.
Finder() - Constructor for class org.cornutum.annotation.Finder
Creates a new Finder instance using a default filter.
Finder(AnnotationFilter) - Constructor for class org.cornutum.annotation.Finder
Creates a new Finder instance using the specified filter.
FlatMapIterator<T,E> - Class in org.cornutum.annotation
Performs a "flat map" of a collection of elements of type E to a sequence of objects of type T by applying the FlatMapIterator.map(E) method to each element.
FlatMapIterator(Collection<E>) - Constructor for class org.cornutum.annotation.FlatMapIterator
Creates a new FlatMapIterator instance.

G

getAnnotated(AnnotationFilter) - Method in class org.cornutum.annotation.AbstractClassFileData
Returns the annotated elements found for this class.
getAnnotated(AnnotationFilter) - Method in class org.cornutum.annotation.ClassData
Returns the annotated elements found for this class.
getAnnotation() - Method in class org.cornutum.annotation.Annotated
Returns class name of the annotation referenced.
getAnnotations() - Method in class org.cornutum.annotation.PackageFilter
Returns the annotations accepted by this filter.
getClassName() - Method in class org.cornutum.annotation.Annotated
Returns the annotated class name.
getDir() - Method in class org.cornutum.annotation.DirectoryAnnotated
Returns the directory for this iterator.
getEntry() - Method in class org.cornutum.annotation.JarEntryReader
Returns the JAR entry for this reader.
getField() - Method in class org.cornutum.annotation.AnnotatedField
Returns the field that references the annotation.
getFile() - Method in class org.cornutum.annotation.AbstractClassFileData
Returns the file containing the class definition.
getFile() - Method in class org.cornutum.annotation.Annotated
Returns the file containing the annotated class.
getFile() - Method in class org.cornutum.annotation.ClassEntryData
Returns the file containing the class definition.
getFile() - Method in class org.cornutum.annotation.ClassFileData
Returns the file containing the class definition.
getFile() - Method in class org.cornutum.annotation.JarEntryReader
Returns the JAR file for this reader.
getInputStream() - Method in class org.cornutum.annotation.ClassData
Returns the class data input stream.
getInputStream() - Method in class org.cornutum.annotation.ClassEntryData
Returns the class data input stream.
getInputStream() - Method in class org.cornutum.annotation.ClassFileData
Returns the class data input stream.
getInputStream() - Method in class org.cornutum.annotation.JarEntryReader
Returns the entry data input stream.
getJar() - Method in class org.cornutum.annotation.JarAnnotated
Returns the JAR file for this iterator.
getMethod() - Method in class org.cornutum.annotation.AnnotatedMethod
Returns the method that references the annotation.
getPackages() - Method in class org.cornutum.annotation.PackageFilter
Returns the packages accepted by this filter.
getType() - Method in class org.cornutum.annotation.Annotated
Return the class element type.
getType() - Method in class org.cornutum.annotation.AnnotatedClass
Return the class element type.
getType() - Method in class org.cornutum.annotation.AnnotatedField
Return the class element type.
getType() - Method in class org.cornutum.annotation.AnnotatedMethod
Return the class element type.

H

hashCode() - Method in class org.cornutum.annotation.Annotated
 
hashCode() - Method in class org.cornutum.annotation.AnnotatedClass
 
hashCode() - Method in class org.cornutum.annotation.AnnotatedField
 
hashCode() - Method in class org.cornutum.annotation.AnnotatedMethod
 
hasNext() - Method in class org.cornutum.annotation.FlatMapIterator
 
hasNext() - Method in class org.cornutum.annotation.MapIterator
 

I

inClasses(File...) - Method in class org.cornutum.annotation.Finder
Find annotated class elements among one of the given class path elements.
inClasses(Collection<File>) - Method in class org.cornutum.annotation.Finder
Find annotated class elements among one of the given class path elements.
inPackage(String...) - Method in class org.cornutum.annotation.PackageFilter
Adds to the set of accepted packages.
inPackage(Collection<String>) - Method in class org.cornutum.annotation.PackageFilter
Adds to the set of accepted packages.
INSTANCE - Static variable in class org.cornutum.annotation.AllAnnotated
 
inSystemClassPath() - Method in class org.cornutum.annotation.Finder
Find annotated class elements among one of the given class path elements specified when the JVM was started.
isClass(Annotated) - Static method in class org.cornutum.annotation.Annotated
Returns true if the annotation is referenced by a class.
isField(Annotated) - Static method in class org.cornutum.annotation.Annotated
Returns true if the annotation is referenced by a field.
isMethod(Annotated) - Static method in class org.cornutum.annotation.Annotated
Returns true if the annotation is referenced by a method.
isRuntime() - Method in class org.cornutum.annotation.Annotated
Returns if this annotation is available at runtime.
Iterators - Class in org.cornutum.annotation
Provides methods to handle iterators.

J

JarAnnotated - Class in org.cornutum.annotation
Returns selected Annotated instances from class files in a specified JAR file.
JarAnnotated(File, AnnotationFilter) - Constructor for class org.cornutum.annotation.JarAnnotated
Creates a new JarAnnotated instance.
JarEntryReader - Class in org.cornutum.annotation
Provides access to the data for a JAR file entry.
JarEntryReader(JarFile, JarEntry) - Constructor for class org.cornutum.annotation.JarEntryReader
Creates a new JarEntryReader instance.

M

map(File) - Method in class org.cornutum.annotation.ClassPathAnnotated
Maps the given file to a sequence of Annotated instances.
map(File) - Method in class org.cornutum.annotation.DirectoryAnnotated
Maps the given file to a sequence of Annotated instances.
map(E) - Method in class org.cornutum.annotation.FlatMapIterator
Maps the given element to a sequence of objects of type T.
map(JarEntryReader) - Method in class org.cornutum.annotation.JarAnnotated
Maps a JAR entry to a sequence of Annotated instances.
MapIterator<T,E> - Class in org.cornutum.annotation
Maps a sequence of elements of type E to a sequence of objects of type T by applying a specified mapping function.
MapIterator(Iterator<E>, Function<E, T>) - Constructor for class org.cornutum.annotation.MapIterator
Creates a new MapIterator instance.

N

next() - Method in class org.cornutum.annotation.FlatMapIterator
 
next() - Method in class org.cornutum.annotation.MapIterator
 

O

of(Object) - Static method in class org.cornutum.annotation.ToString
Returns a ToString builder for the given object.
org.cornutum.annotation - package org.cornutum.annotation
 

P

PackageFilter - Class in org.cornutum.annotation
An AnnotationFilter that accepts annotated elements appearing in classes that belong to specific packages.
PackageFilter() - Constructor for class org.cornutum.annotation.PackageFilter
Creates a new SimpleAnnotationFilter instance.
PackageFilter(Class<? extends Annotation>...) - Constructor for class org.cornutum.annotation.PackageFilter
Creates a new SimpleAnnotationFilter instance.
PackageFilter(String...) - Constructor for class org.cornutum.annotation.PackageFilter
Creates a new SimpleAnnotationFilter instance.

R

rawTypeName(Class<?>) - Static method in class org.cornutum.annotation.ClassData
Returns the raw type name recorded for the given class type in a class file.
rawTypeName(String) - Static method in class org.cornutum.annotation.ClassData
Returns the raw type name recorded for the given class name in a class file.

S

simpleClassName(String) - Static method in class org.cornutum.annotation.ToString
Returns the simple name of the given class.

T

toClassFile(URL) - Static method in class org.cornutum.annotation.Files
If the given URL represents a class file or directory, returns the file path.
toClassName(String) - Static method in class org.cornutum.annotation.ClassData
Converts the given raw type name to a fully-qualified class name.
toFile(URL) - Static method in class org.cornutum.annotation.Files
Returns the file represented by the given URL:
toJarFile(URL) - Static method in class org.cornutum.annotation.Files
If the given URL represents a JAR file, returns the file path.
toList(Iterator<T>) - Static method in class org.cornutum.annotation.Iterators
Returns a list that contains the sequence defined by the given Iterator.
toStream(Iterator<T>) - Static method in class org.cornutum.annotation.Iterators
Returns a stream that produces the sequence defined by the given Iterator.
toStream(Iterable<T>) - Static method in class org.cornutum.annotation.Iterators
Returns a stream that produces the sequence defined by the given Iterable.
toString() - Method in class org.cornutum.annotation.AnnotatedClass
 
toString() - Method in class org.cornutum.annotation.AnnotatedField
 
toString() - Method in class org.cornutum.annotation.AnnotatedMethod
 
toString() - Method in class org.cornutum.annotation.ClassEntryData
 
toString() - Method in class org.cornutum.annotation.ClassFileData
 
toString() - Method in class org.cornutum.annotation.DirectoryAnnotated
 
toString() - Method in class org.cornutum.annotation.JarAnnotated
 
toString() - Method in class org.cornutum.annotation.JarEntryReader
 
toString() - Method in class org.cornutum.annotation.PackageFilter
 
ToString - Class in org.cornutum.annotation
A standard toString() builder.
ToString(Object) - Constructor for class org.cornutum.annotation.ToString
Creates a new ToString instance.
toString() - Method in class org.cornutum.annotation.ToString
 

V

valueOf(String) - Static method in enum org.cornutum.annotation.Annotated.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.cornutum.annotation.Annotated.Type
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I J M N O P R S T V 
Skip navigation links

Copyright © 2025 The Cornutum Project. All rights reserved.