A B C D E F G H I J L M N O P R S T U V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ABSENT - Static variable in interface org.perfectable.introspection.query.AnnotationFilter
-
Filter that matches only
elements
that doesnt have annotations. - ACCEPTING - Static variable in interface org.perfectable.introspection.query.AnnotationFilter
-
Filter that matches any
element
. - adjustWildcards() - Method in class org.perfectable.introspection.type.ClassView
-
Allows cast-less conversion from raw class to either generic form, or parametrized class.
- ALL - Static variable in interface org.perfectable.introspection.query.TypeFilter
-
Filter that matches any
Type
. - and(AnnotationFilter) - Method in interface org.perfectable.introspection.query.AnnotationFilter
-
Creates conjunction between this and provided filter.
- and(TypeFilter) - Method in interface org.perfectable.introspection.query.TypeFilter
-
Creates conjunction between this and provided filter.
- andMatching(Predicate<? super A>) - Method in interface org.perfectable.introspection.query.AnnotationFilter.Singular
-
Adds check on annotation that is present.
- annotatedWith(Class<? extends Annotation>) - Method in class org.perfectable.introspection.query.AnnotationQuery
-
Creates query that filters resulting annotations that have meta-annotation placed on them.
- annotatedWith(Class<? extends Annotation>) - Method in class org.perfectable.introspection.query.ClassQuery
-
Restricts query to classes that are annotated by annotation with specified class.
- annotatedWith(Class<? extends Annotation>) - Method in class org.perfectable.introspection.query.InheritanceQuery
-
Creates query which lists the same classes as this one, but only if they have an annotation with provided class.
- annotatedWith(AnnotationFilter) - Method in class org.perfectable.introspection.query.ClassQuery
-
Restricts query to classes that matches specified annotation filter.
- annotatedWith(AnnotationFilter) - Method in class org.perfectable.introspection.query.ConstructorQuery
- annotatedWith(AnnotationFilter) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields which are annotated by specified annotation filter.
- annotatedWith(AnnotationFilter) - Method in class org.perfectable.introspection.query.InheritanceQuery
-
Creates query which lists the same classes as this one, but only if they have an annotation that matches specified filter.
- annotatedWith(AnnotationFilter) - Method in class org.perfectable.introspection.query.MethodQuery
- AnnotationBuilder<A extends Annotation> - Class in org.perfectable.introspection
-
Builder pattern for creating annotation type instances.
- AnnotationBuilder.MemberExtractor<A extends Annotation,X> - Interface in org.perfectable.introspection
-
Functional reference interface which allows type-safe and refactor-safe extraction of members.
- AnnotationFilter - Interface in org.perfectable.introspection.query
-
Predicate-like interface for annotations on
AnnotatedElement
. - AnnotationFilter.Singular<A extends Annotation> - Interface in org.perfectable.introspection.query
-
Concretization of filters that only match when there's a specified annotation present on element.
- AnnotationQuery<A extends Annotation> - Class in org.perfectable.introspection.query
-
Iterable-like container that finds annotations.
- annotations() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for runtime-visible annotations on introspected class.
- annotations() - Method in class org.perfectable.introspection.FieldIntrospection
-
Query for annotations on introspected field.
- annotations() - Method in class org.perfectable.introspection.MethodIntrospection
-
Query for annotations on specified method.
- arguments() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Calculates types used as arguments for this parameterized type.
- ArrayTypeView - Class in org.perfectable.introspection.type
-
TypeView
that handlesGenericArrayType
. - as(Class<X>) - Method in class org.perfectable.introspection.bean.Property
-
Safely casts expected value to specific type.
- asAccessible() - Method in class org.perfectable.introspection.query.ConstructorQuery
- asAccessible() - Method in class org.perfectable.introspection.query.FieldQuery
-
Makes query mark field as {Field#setAccessible accessible} when iterating.
- asAccessible() - Method in class org.perfectable.introspection.query.MethodQuery
- asArray() - Method in class org.perfectable.introspection.type.ArrayTypeView
-
Deprecated.the type system already knows this is a array type, and this call does not change the type
- asArray() - Method in class org.perfectable.introspection.type.ClassView
-
Try to cast/convert wrapped type to
GenericArrayType
. - asArray() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Try to cast/convert wrapped type to
GenericArrayType
. - asArray() - Method in class org.perfectable.introspection.type.TypeVariableView
-
Deprecated.the type system already knows this is a type variable, and this call will fail
- asArray() - Method in class org.perfectable.introspection.type.TypeView
-
Try to cast/convert wrapped type to
GenericArrayType
. - asArray() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Deprecated.the type system already knows this is a wildcard type, and this call will fail
- asClass() - Method in class org.perfectable.introspection.type.ArrayTypeView
-
Try to cast or convert wrapped type to
Class
. - asClass() - Method in class org.perfectable.introspection.type.ClassView
-
Deprecated.the type system already knows this is a class, and this call does not change the type
- asClass() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Try to cast or convert wrapped type to
Class
. - asClass() - Method in class org.perfectable.introspection.type.TypeVariableView
-
Deprecated.the type system already knows this is a type variable, and this call will fail
- asClass() - Method in class org.perfectable.introspection.type.TypeView
-
Try to cast or convert wrapped type to
Class
. - asClass() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Deprecated.the type system already knows this is a wildcard type, and this call will fail
- asGeneric() - Method in class org.perfectable.introspection.ClassIntrospection
-
Allows cast-less conversion from raw class to either generic form, or parametrized class.
- asParameterized() - Method in class org.perfectable.introspection.type.ArrayTypeView
-
Try to cast or convert wrapped type to
ParameterizedType
. - asParameterized() - Method in class org.perfectable.introspection.type.ClassView
-
Converts wrapped class to
ParameterizedType
. - asParameterized() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Deprecated.the type system already knows this is a parameterized type, and this call does not change the type
- asParameterized() - Method in class org.perfectable.introspection.type.TypeVariableView
-
Deprecated.the type system already knows this is a type variable, and this call will fail
- asParameterized() - Method in class org.perfectable.introspection.type.TypeView
-
Try to cast or convert wrapped type to
ParameterizedType
. - asParameterized() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Deprecated.the type system already knows this is a wildcard type, and this call will fail
- asVariable() - Method in class org.perfectable.introspection.type.ArrayTypeView
-
Deprecated.the type system already knows this is a array type, and this call will fail
- asVariable() - Method in class org.perfectable.introspection.type.ClassView
-
Deprecated.the type system already knows this is a class view, and this call will fail
- asVariable() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Deprecated.the type system already knows this is a parameterized type, and this call will fail
- asVariable() - Method in class org.perfectable.introspection.type.TypeVariableView
-
Deprecated.the type system already knows this is a variable, and this call does not change the type
- asVariable() - Method in class org.perfectable.introspection.type.TypeView
-
Try to cast wrapped type to
TypeVariable
. - asVariable() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Deprecated.the type system already knows this is a wildcard type, and this call will fail
- asWildcard() - Method in class org.perfectable.introspection.type.ArrayTypeView
-
Deprecated.the type system already knows this is a array type, and this call will fail
- asWildcard() - Method in class org.perfectable.introspection.type.ClassView
-
Deprecated.the type system already knows this is a class view, and this call will fail
- asWildcard() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Deprecated.the type system already knows this is a parameterized type, and this call will fail
- asWildcard() - Method in class org.perfectable.introspection.type.TypeVariableView
-
Deprecated.the type system already knows this is a type variable, and this call will fail
- asWildcard() - Method in class org.perfectable.introspection.type.TypeView
-
Try to cast wrapped type to
WildcardType
. - asWildcard() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Deprecated.the type system already knows this is a variable, and this call does not change the type
B
- Bean<B> - Class in org.perfectable.introspection.bean
-
Represents a view of an instance as its property values, typically containing a proper Java Bean.
- BeanSchema<B> - Class in org.perfectable.introspection.bean
-
Schema of a Java Bean.
- build() - Method in class org.perfectable.introspection.AnnotationBuilder
-
Creates annotation instance.
C
- capturingType() - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Extracts class in which referenced method was declared.
- classes() - Method in class org.perfectable.introspection.ClassLoaderIntrospection
-
Query for classes that introspected classloader provides.
- ClassIntrospection<X> - Class in org.perfectable.introspection
-
Entry point for class introspections.
- ClassLoaderIntrospection - Class in org.perfectable.introspection
-
Entry point for
ClassLoader
introspections. - ClassQuery<C> - Class in org.perfectable.introspection.query
-
Iterable-like container that searches for classes.
- ClassView<X> - Class in org.perfectable.introspection.type
- CLONE - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.clone()
. - component() - Method in class org.perfectable.introspection.type.ArrayTypeView
-
Extracts array component type.
- ConstructorQuery<X> - Class in org.perfectable.introspection.query
-
Iterable-like container that searches for constructors of a class.
- constructors() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for constructors of introspected class.
- contains(Object) - Method in class org.perfectable.introspection.query.ClassQuery
- contents() - Method in class org.perfectable.introspection.bean.Bean
-
Extracts instance that is backing this bean.
- copy() - Method in class org.perfectable.introspection.bean.Bean
-
Creates new bean with contained instance copied field-by-field from this bean backing instance.
- copy(Bean<B>) - Method in class org.perfectable.introspection.bean.Property
-
Copies value of this property to same property of another bean.
- count(int) - Static method in interface org.perfectable.introspection.query.ParametersFilter
-
Creates a filter that checks if executable could be called with the specified number of arguments.
- createProxy(Class<T>, LazyInitialization.Initializer<? extends T>) - Static method in class org.perfectable.introspection.proxy.LazyInitialization
-
Creates a proxy that forwards invocations to lazily initialized instance.
D
- decompose(Method, T, Object...) - Method in interface org.perfectable.introspection.proxy.MethodInvocation.Decomposer
-
Decomposition method.
- decompose(MethodInvocation.Decomposer<? super T, R>) - Method in class org.perfectable.introspection.proxy.MethodInvocation
-
Decomposes the invocation to its parts.
E
- empty() - Static method in class org.perfectable.introspection.query.AnnotationQuery
-
This simple Null Object Pattern for this query.
- empty() - Static method in class org.perfectable.introspection.query.FieldQuery
-
This simple Null Object Pattern for this query.
- equals(Object) - Method in class org.perfectable.introspection.bean.Bean
- equals(Object) - Method in class org.perfectable.introspection.bean.BeanSchema
- equals(Object) - Method in class org.perfectable.introspection.bean.Property
- equals(Object) - Method in class org.perfectable.introspection.proxy.MethodInvocation
- EQUALS - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.equals(Object)
. - erasure() - Method in class org.perfectable.introspection.type.ArrayTypeView
- erasure() - Method in class org.perfectable.introspection.type.ClassView
- erasure() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
- erasure() - Method in class org.perfectable.introspection.type.TypeVariableView
- erasure() - Method in class org.perfectable.introspection.type.TypeView
-
Finds exact class that would be erasure of wrapped type.
- erasure() - Method in class org.perfectable.introspection.type.WildcardTypeView
- exact(Type) - Static method in interface org.perfectable.introspection.query.TypeFilter
-
Filter that matches exactly specified type and nothing else.
- excludingModifier(int) - Method in class org.perfectable.introspection.query.ConstructorQuery
- excludingModifier(int) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields that don't have specified modifier.
- excludingModifier(int) - Method in class org.perfectable.introspection.query.MethodQuery
- extract(A) - Method in interface org.perfectable.introspection.AnnotationBuilder.MemberExtractor
- extractInstance() - Method in interface org.perfectable.introspection.proxy.LazyInitialization.Proxy
-
Extracts delegation target.
F
- fallback() - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
-
Executes when mode was not overridden.
- fallback() - Method in class org.perfectable.introspection.type.TypeView.PartialVisitor
-
Called when method for specific
TypeView
was not overridden. - FieldIntrospection - Class in org.perfectable.introspection
-
Entry point for
Field
introspections. - fieldProperties() - Method in class org.perfectable.introspection.bean.Bean
-
Lists all properties that are backed by a field.
- FieldQuery - Class in org.perfectable.introspection.query
-
Iterable-like container that searches for fields in class.
- fields() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for fields of introspected class.
- filter(Predicate<? super A>) - Method in class org.perfectable.introspection.query.AnnotationQuery
- filter(Predicate<? super Class<? extends C>>) - Method in class org.perfectable.introspection.query.ClassQuery
-
Restricts query to classes that matches specified predicate.
- filter(Predicate<? super Class<? super X>>) - Method in class org.perfectable.introspection.query.InheritanceQuery
- filter(Predicate<? super Constructor<X>>) - Method in class org.perfectable.introspection.query.ConstructorQuery
- filter(Predicate<? super Field>) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields which matches arbitrary filter.
- filter(Predicate<? super Method>) - Method in class org.perfectable.introspection.query.MethodQuery
- FINALIZE - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.finalize()
. - forClass(Class<X>) - Static method in class org.perfectable.introspection.proxy.ProxyBuilder
-
Creates new builder for class that is actually a class (not an interface).
- forInterface(Class<X>) - Static method in class org.perfectable.introspection.proxy.ProxyBuilder
-
Creates new builder for interface.
- forType(Class<X>) - Static method in class org.perfectable.introspection.proxy.ProxyBuilder
-
Creates new builder for specified type.
- ForwardingHandler<T> - Class in org.perfectable.introspection.proxy
-
Invocation handler that delegates all calls to actual object.
- from(Class<X>) - Static method in class org.perfectable.introspection.bean.BeanSchema
-
Creates schema from provided class.
- from(X) - Static method in class org.perfectable.introspection.bean.Bean
-
Creates bean from Java Bean object.
- fromCallable(Callable<?>) - Static method in interface org.perfectable.introspection.proxy.Invocation
-
Adapts
Callable
to this interface. - fromElements(Annotation...) - Static method in class org.perfectable.introspection.query.AnnotationQuery
-
Converts array of annotations to query.
- fromElements(Set<Annotation>) - Static method in class org.perfectable.introspection.query.AnnotationQuery
-
Converts set of annotations to query.
- fromRunnable(Runnable) - Static method in interface org.perfectable.introspection.proxy.Invocation
-
Adapts
Runnable
to this interface. - FunctionalReference - Interface in org.perfectable.introspection
-
Interface that allows passing compile-time safe information around.
- FunctionalReference.Introspection - Interface in org.perfectable.introspection
-
Introspection of functional reference.
- FunctionalReference.PartialVisitor<T> - Class in org.perfectable.introspection
-
Visitor Pattern partial implementation that allows handling of groups of modes.
- FunctionalReference.Visitor<T> - Interface in org.perfectable.introspection
-
Visitor Pattern interface for Functional reference.
G
- get() - Method in class org.perfectable.introspection.bean.Property
-
Extracts value of this property from bound bean.
- get(ProxyService.Feature...) - Method in class org.perfectable.introspection.proxy.ProxyService.Container
-
Extracts proxy service with specified features.
- GET_CLASS - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.getClass()
.
H
- handle(I) - Method in interface org.perfectable.introspection.proxy.InvocationHandler
-
Catches invocation executed on proxy and returns result that should be passed to the client.
- handle(MethodInvocation<T>) - Method in class org.perfectable.introspection.proxy.ForwardingHandler
- HASH_CODE - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.hashCode()
. - hashCode() - Method in class org.perfectable.introspection.bean.Bean
- hashCode() - Method in class org.perfectable.introspection.bean.BeanSchema
- hashCode() - Method in class org.perfectable.introspection.bean.Property
- hashCode() - Method in class org.perfectable.introspection.proxy.MethodInvocation
I
- inheritance() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for implemented/extended interfaces/classes of introspected class.
- InheritanceQuery<X> - Class in org.perfectable.introspection.query
-
Iterable-like container that allows access to supertypes of a class.
- initialize() - Method in interface org.perfectable.introspection.proxy.LazyInitialization.Initializer
-
Initializes the actual target and returns it.
- inPackage(Package) - Method in class org.perfectable.introspection.query.ClassQuery
-
Restricts query to classes that in specified package or its descendants.
- inPackage(String) - Method in class org.perfectable.introspection.query.ClassQuery
-
Restricts query to classes that in specified package or its descendants.
- INSTANCES - Static variable in interface org.perfectable.introspection.proxy.ProxyService
-
Container managing all instances registered with
ServiceLoader
. - instantiate() - Method in class org.perfectable.introspection.bean.BeanSchema
-
Creates new empty bean from this schema.
- instantiate() - Method in class org.perfectable.introspection.ClassIntrospection
-
Tries to create an instance of this class using parameterless constructor.
- instantiate(ClassLoader, Class<?>, List<? extends Class<?>>, InvocationHandler<? super MethodInvocation<I>>) - Method in class org.perfectable.introspection.proxy.JavassistProxyService
- instantiate(ClassLoader, Class<?>, List<? extends Class<?>>, InvocationHandler<? super MethodInvocation<I>>) - Method in class org.perfectable.introspection.proxy.JdkProxyService
- instantiate(ClassLoader, Class<?>, List<? extends Class<?>>, InvocationHandler<? super MethodInvocation<I>>) - Method in interface org.perfectable.introspection.proxy.ProxyService
-
Creates proxy instance.
- instantiate(InvocationHandler<? super MethodInvocation<I>>) - Method in class org.perfectable.introspection.proxy.ProxyBuilder
-
Creates instance of configured proxy class.
- intercepted(Method, T, Object...) - Static method in class org.perfectable.introspection.proxy.MethodInvocation
-
Create invocation that was intercepted from proxy mechanism.
- interfaces() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for implemented interfaces of introspected class.
- interfaces() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Extracts list of interfaces either extended or implemented by this type.
- introspect() - Method in interface org.perfectable.introspection.FunctionalReference
-
Analyzes reference and produces information access object.
- introspect(Class<X>) - Static method in class org.perfectable.introspection.Introspections
-
Introspect a class.
- introspect(ClassLoader) - Static method in class org.perfectable.introspection.Introspections
-
Introspect a classloader.
- introspect(Field) - Static method in class org.perfectable.introspection.Introspections
-
Introspect a field.
- introspect(Method) - Static method in class org.perfectable.introspection.Introspections
-
Introspect a method.
- Introspections - Class in org.perfectable.introspection
-
Convenient entry point for introspections.
- Invocation - Interface in org.perfectable.introspection.proxy
-
Invocation of execution point.
- InvocationHandler<I extends Invocation> - Interface in org.perfectable.introspection.proxy
-
Handles an invocation of a execution point on a proxy and returns response.
- invoke() - Method in interface org.perfectable.introspection.proxy.Invocation
-
Invokes the execution point.
- invoke() - Method in class org.perfectable.introspection.proxy.MethodInvocation
-
Executes the configured invocation.
- isCallable() - Method in class org.perfectable.introspection.MethodIntrospection
-
Check if method is callable.
- isInstance(Object) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if provided value is instance of wrapped type.
- isInstantiable() - Method in class org.perfectable.introspection.ClassIntrospection
-
Tests if the class is instantiable.
- isProperSubtypeOf(Type) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is subtype of the provided one, but they are not the same type.
- isProperSubtypeOf(TypeView) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is subtype of the provided one, but they are not the same type.
- isProperSupertypeOf(Type) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is supertype of the provided one, but they are not the same type.
- isProperSupertypeOf(TypeView) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is supertype of the provided one, but they are not the same type.
- isReadable() - Method in class org.perfectable.introspection.bean.Property
-
Answers if the property is readable, i.e.
- isReadable() - Method in class org.perfectable.introspection.bean.PropertySchema
-
Answers if the property is readable.
- isSubTypeOf(Type) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is subtype of the provided one.
- isSubTypeOf(TypeView) - Method in class org.perfectable.introspection.type.ArrayTypeView
- isSubTypeOf(TypeView) - Method in class org.perfectable.introspection.type.ClassView
- isSubTypeOf(TypeView) - Method in class org.perfectable.introspection.type.ParameterizedTypeView
- isSubTypeOf(TypeView) - Method in class org.perfectable.introspection.type.TypeVariableView
- isSubTypeOf(TypeView) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is subtype of the provided one.
- isSubTypeOf(TypeView) - Method in class org.perfectable.introspection.type.WildcardTypeView
- isSuperTypeOf(Type) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is supertype of the provided one.
- isSuperTypeOf(TypeView) - Method in class org.perfectable.introspection.type.TypeView
-
Tests if type wrapped in this view is supertype of the provided one.
- isWritable() - Method in class org.perfectable.introspection.bean.Property
-
Answers if the property is writeable, i.e.
- isWritable() - Method in class org.perfectable.introspection.bean.PropertySchema
-
Answers if the property is writeable.
J
- JavassistProxyService - Class in org.perfectable.introspection.proxy
- JavassistProxyService() - Constructor for class org.perfectable.introspection.proxy.JavassistProxyService
- JdkProxyService - Class in org.perfectable.introspection.proxy
- JdkProxyService() - Constructor for class org.perfectable.introspection.proxy.JdkProxyService
- join(AnnotationQuery<?>) - Method in class org.perfectable.introspection.query.AnnotationQuery
-
Creates query that contains results from both this and provided query.
- join(FieldQuery) - Method in class org.perfectable.introspection.query.FieldQuery
-
Joins results of two queries.
L
- LazyInitialization - Class in org.perfectable.introspection.proxy
-
Helper class to create proxy which delegate invocation to lazily-initialized instance.
- LazyInitialization.Initializer<T> - Interface in org.perfectable.introspection.proxy
-
Provider interface for proxy delegation target.
- LazyInitialization.Proxy<T> - Interface in org.perfectable.introspection.proxy
-
Additional interface that all proxies created by
LazyInitialization.createProxy(java.lang.Class<T>, org.perfectable.introspection.proxy.LazyInitialization.Initializer<? extends T>)
will implement. - loadSafe(String) - Method in class org.perfectable.introspection.ClassLoaderIntrospection
-
Loads class assuming that it exists in classloader.
- lowerBounds() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Extracts lower bounds for this wildcard.
M
- markAccessible(AccessibleObject) - Static method in class org.perfectable.introspection.PrivilegedActions
-
Marks object as accessible with
AccessibleObject.setAccessible(java.lang.reflect.AccessibleObject[], boolean)
. - marker(Class<A>) - Static method in class org.perfectable.introspection.AnnotationBuilder
-
Creates instance of annotation with no members.
- matches(AnnotatedElement) - Method in interface org.perfectable.introspection.query.AnnotationFilter
-
Function method that checks element.
- matches(Executable) - Method in interface org.perfectable.introspection.query.ParametersFilter
-
Matches executable for parameters.
- matches(Parameter[], boolean) - Method in interface org.perfectable.introspection.query.ParametersFilter
-
Matches parameters of an executable against this filter.
- matches(Type) - Method in interface org.perfectable.introspection.query.TypeFilter
-
Checks if type matches the filter.
- matchingArguments(Object...) - Static method in interface org.perfectable.introspection.query.ParametersFilter
-
Creates filter that checks if specified arguments by thier value could be passed to checked executable.
- MethodIntrospection - Class in org.perfectable.introspection
-
Entry point for method introspections.
- MethodInvocation<T> - Class in org.perfectable.introspection.proxy
-
Capture of a information needed to invoke a method.
- MethodInvocation.Decomposer<T,R> - Interface in org.perfectable.introspection.proxy
-
Interface that allows decomposition of the invocation.
- MethodQuery - Class in org.perfectable.introspection.query
-
Iterable-like container that searches for methods in class.
- methods() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for methods of introspected class.
N
- name() - Method in class org.perfectable.introspection.bean.Property
-
Extracts name of the property.
- name() - Method in class org.perfectable.introspection.bean.PropertySchema
-
Extracts name of the property.
- named(String) - Method in class org.perfectable.introspection.query.ConstructorQuery
- named(String) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields with specified name.
- named(String) - Method in class org.perfectable.introspection.query.MethodQuery
- nameMatching(Pattern) - Method in class org.perfectable.introspection.query.ConstructorQuery
- nameMatching(Pattern) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields with name that matches specified pattern.
- nameMatching(Pattern) - Method in class org.perfectable.introspection.query.MethodQuery
- negated() - Method in interface org.perfectable.introspection.query.AnnotationFilter
-
Creates filter negation.
- negated() - Method in interface org.perfectable.introspection.query.TypeFilter
-
Creates filter negation.
- NONE - Static variable in interface org.perfectable.introspection.query.TypeFilter
-
Filter that doesn't match any
Type
. - NOTIFY - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.notify()
. - NOTIFY_ALL - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.notifyAll()
. - notOverridden() - Method in class org.perfectable.introspection.query.MethodQuery
-
Restricts query for methods that are not overridden by other in the inheritance chain.
O
- ObjectMethods - Class in org.perfectable.introspection
-
Convenient holder for reflections of methods in
Object
. - of(Class<?>) - Static method in class org.perfectable.introspection.query.FieldQuery
-
Queries for fields in specified class.
- of(Class<?>) - Static method in class org.perfectable.introspection.query.MethodQuery
-
Queries for fields in specified class.
- of(Class<A>) - Static method in class org.perfectable.introspection.AnnotationBuilder
-
Creates unconfigured builder for specified annotation type.
- of(Class<X>) - Static method in class org.perfectable.introspection.query.ConstructorQuery
-
Queries for fields in specified class.
- of(Class<X>) - Static method in class org.perfectable.introspection.query.InheritanceQuery
-
Creates unrestricted query that will list all the supertypes that this class or interface extends/implements.
- of(Class<X>) - Static method in class org.perfectable.introspection.type.ClassView
-
Creates view over provided type.
- of(Class<X>) - Static method in class org.perfectable.introspection.type.TypeView
-
Creates view over provided type.
- of(ClassLoader) - Static method in class org.perfectable.introspection.query.ClassQuery
-
Queries for classes reachable by specified classloader.
- of(AnnotatedElement) - Static method in class org.perfectable.introspection.query.AnnotationQuery
-
Creates a query from annotations declared on specified element.
- of(GenericArrayType) - Static method in class org.perfectable.introspection.type.ArrayTypeView
-
Creates view over provided type.
- of(GenericArrayType) - Static method in class org.perfectable.introspection.type.TypeView
-
Creates view over provided type.
- of(Method, T, Object...) - Static method in class org.perfectable.introspection.proxy.MethodInvocation
-
Create synthetic invocation from scratch.
- of(ParameterizedType) - Static method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Creates view over provided type.
- of(ParameterizedType) - Static method in class org.perfectable.introspection.type.TypeView
-
Creates view over provided type.
- of(Type) - Static method in class org.perfectable.introspection.type.TypeView
-
Creates view over provided type.
- of(TypeVariable<D>) - Static method in class org.perfectable.introspection.type.TypeVariableView
-
Creates view over provided type.
- of(TypeVariable<D>) - Static method in class org.perfectable.introspection.type.TypeView
-
Creates view over provided type.
- of(WildcardType) - Static method in class org.perfectable.introspection.type.TypeView
-
Creates view over provided type.
- of(WildcardType) - Static method in class org.perfectable.introspection.type.WildcardTypeView
-
Creates view over provided type.
- of(T) - Static method in class org.perfectable.introspection.proxy.ForwardingHandler
-
Creates handler with specified object as a delegate.
- ofParameterOf(Method, int) - Static method in class org.perfectable.introspection.type.TypeView
-
Returns view of n-th formal parameter declared in method.
- ofTypeOf(Field) - Static method in class org.perfectable.introspection.type.TypeView
-
Returns view of corrected type for declared field.
- ofTypeParameterOf(Method, int) - Static method in class org.perfectable.introspection.type.TypeView
-
Returns view of n-th type parameter declared in method.
- onlyClasses() - Method in class org.perfectable.introspection.query.InheritanceQuery
-
Creates query which lists the same classes as this one, but only if they are actually a class (not an interface).
- onlyInterfaces() - Method in class org.perfectable.introspection.query.InheritanceQuery
-
Creates query which lists the same classes as this one, but only if they are actually an interface.
- or(AnnotationFilter) - Method in interface org.perfectable.introspection.query.AnnotationFilter
-
Creates disjunction between this and provided filter.
- or(TypeFilter) - Method in interface org.perfectable.introspection.query.TypeFilter
-
Creates disjunction between this and provided filter.
- org.perfectable.introspection - package org.perfectable.introspection
-
Base package for this library.
- org.perfectable.introspection.bean - package org.perfectable.introspection.bean
-
Elements allowing treating objects as Java Beans.
- org.perfectable.introspection.proxy - package org.perfectable.introspection.proxy
-
Elements that simplifies creation of Proxy Objects.
- org.perfectable.introspection.query - package org.perfectable.introspection.query
-
Set of wrappers for reflections over program constructs.
- org.perfectable.introspection.type - package org.perfectable.introspection.type
-
Elements that allow manipulating of
Type
objects.
P
- parameterAnnotations(int) - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Returns annotation that was placed on parameter with specified index in implementation method.
- ParameterizedTypeView - Class in org.perfectable.introspection.type
-
TypeView
that handlesParameterizedType
. - parameterlessConstructor() - Method in class org.perfectable.introspection.ClassIntrospection
-
Gets parameterless constructor for introspected class.
- parameters() - Method in class org.perfectable.introspection.type.ClassView
-
Extracts type variables that class declares.
- parameters(ParametersFilter) - Method in class org.perfectable.introspection.query.ConstructorQuery
- parameters(ParametersFilter) - Method in class org.perfectable.introspection.query.MethodQuery
- parametersCount() - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Returns number of parameters that reference method has.
- ParametersFilter - Interface in org.perfectable.introspection.query
-
Filter for method or constructor parameters.
- parameterType(int) - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Returns actual type for parameter by its index.
- PartialVisitor() - Constructor for class org.perfectable.introspection.FunctionalReference.PartialVisitor
- PartialVisitor() - Constructor for class org.perfectable.introspection.type.TypeView.PartialVisitor
- PRIMITIVE - Static variable in interface org.perfectable.introspection.query.TypeFilter
-
Filter that matches only primitive types.
- PrivilegedActions - Class in org.perfectable.introspection
-
Helper class that allows executing code that requires
AccessController.doPrivileged(java.security.PrivilegedAction<T>)
. - property(String) - Method in class org.perfectable.introspection.bean.Bean
-
Finds property by name.
- property(String) - Method in class org.perfectable.introspection.bean.BeanSchema
-
Extracts property schema by name.
- Property<B,T> - Class in org.perfectable.introspection.bean
-
Represents a property of a bean.
- PropertySchema<B,T> - Class in org.perfectable.introspection.bean
-
Schema of a Java Bean property.
- ProxyBuilder<I> - Class in org.perfectable.introspection.proxy
-
Builder pattern for proxies.
- ProxyService - Interface in org.perfectable.introspection.proxy
-
Method of producing proxies.
- ProxyService.Container - Class in org.perfectable.introspection.proxy
-
Container that manages service-loaded instances of
ProxyService
. - ProxyService.Feature - Enum in org.perfectable.introspection.proxy
-
Features that service can support.
- ProxyService.UnsupportedFeatureException - Exception in org.perfectable.introspection.proxy
-
Thrown when factory cannot create a builder with requested features.
- put(B) - Method in class org.perfectable.introspection.bean.BeanSchema
-
Inserts bean instance into this schema, creating actual
Bean
.
R
- referencedConstructor() - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Extracts referenced constructor if the implementation was a constructor reference.
- referencedMethod() - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Extracts referenced method if the implementation was a method reference.
- REJECTING - Static variable in interface org.perfectable.introspection.query.AnnotationFilter
-
Filter that doesn't match any
element
. - related() - Method in class org.perfectable.introspection.bean.Bean
-
Finds all object that backing instance has reference to.
- requiringModifier(int) - Method in class org.perfectable.introspection.query.ConstructorQuery
- requiringModifier(int) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields that have specified modifier on them.
- requiringModifier(int) - Method in class org.perfectable.introspection.query.MethodQuery
- resolve(Type) - Method in class org.perfectable.introspection.type.ArrayTypeView
- resolve(Type) - Method in class org.perfectable.introspection.type.ClassView
- resolve(Type) - Method in class org.perfectable.introspection.type.ParameterizedTypeView
- resolve(Type) - Method in class org.perfectable.introspection.type.TypeView
-
Create view that has variable substitutions copied from provided.
- resolve(Type) - Method in class org.perfectable.introspection.type.WildcardTypeView
- resolve(TypeView) - Method in class org.perfectable.introspection.type.ArrayTypeView
- resolve(TypeView) - Method in class org.perfectable.introspection.type.ClassView
- resolve(TypeView) - Method in class org.perfectable.introspection.type.ParameterizedTypeView
- resolve(TypeView) - Method in class org.perfectable.introspection.type.TypeView
-
Create view that has variable substitutions copied from provided.
- resolve(TypeView) - Method in class org.perfectable.introspection.type.WildcardTypeView
- resultType() - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Returns actual type returned by implementation method.
- returning(Object) - Static method in interface org.perfectable.introspection.proxy.Invocation
-
Creates invocation that does only one thing: returns the provided argument.
- returning(Type) - Method in class org.perfectable.introspection.query.MethodQuery
-
Restricts query to methods that has a return type that is subtype of specified type.
- returning(TypeFilter) - Method in class org.perfectable.introspection.query.MethodQuery
-
Restricts query to methods that has a return type that match the filter.
- returningVoid() - Method in class org.perfectable.introspection.query.MethodQuery
-
Restricts query to methods that doesn't return a value, i.e.
S
- set(T) - Method in class org.perfectable.introspection.bean.Property
-
Sets provided value for this property of bound bean.
- single(Class<A>) - Static method in interface org.perfectable.introspection.query.AnnotationFilter
-
Returns filter that requires specified annotation by type to be present on element to match.
- stream() - Method in class org.perfectable.introspection.query.ClassQuery
- subtypeOf(Class<? extends X>) - Method in class org.perfectable.introspection.query.ClassQuery
-
Restricts query to classes that are subtype of specified type.
- subtypeOf(Type) - Static method in interface org.perfectable.introspection.query.TypeFilter
-
Filter that matches only types that are subtype of specified one.
- superclass() - Method in class org.perfectable.introspection.type.ParameterizedTypeView
-
Extracts superclass as a type view.
- SUPERCLASS - org.perfectable.introspection.proxy.ProxyService.Feature
-
Service can create proxies that have superclass other than Object.
- superclasses() - Method in class org.perfectable.introspection.ClassIntrospection
-
Query for extended superclasses of introspected class.
- superTypeOf(Type) - Static method in interface org.perfectable.introspection.query.TypeFilter
-
Filter that matches only types that are supertype of specified one.
- supportsAllFeatures(ProxyService.Feature...) - Method in interface org.perfectable.introspection.proxy.ProxyService
-
If the concrete service supports all of specified features.
- supportsFeature(ProxyService.Feature) - Method in class org.perfectable.introspection.proxy.JavassistProxyService
- supportsFeature(ProxyService.Feature) - Method in class org.perfectable.introspection.proxy.JdkProxyService
- supportsFeature(ProxyService.Feature) - Method in interface org.perfectable.introspection.proxy.ProxyService
-
If the concrete service supports specified feature.
- swap(T) - Method in class org.perfectable.introspection.proxy.ForwardingHandler
-
Changes target to provided one.
- system() - Static method in class org.perfectable.introspection.query.ClassQuery
-
Queries for all classes reachable from declared classpath.
T
- throwing(Supplier<Throwable>) - Static method in interface org.perfectable.introspection.proxy.Invocation
-
Creates invocation that only throws exceptions obtained from supplier.
- TO_STRING - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.toString()
. - type() - Method in class org.perfectable.introspection.bean.Bean
-
Extracts actual type of backing instance.
- type() - Method in class org.perfectable.introspection.bean.BeanSchema
-
Class backing this schema.
- type() - Method in class org.perfectable.introspection.bean.Property
-
Extracts type of the property.
- type() - Method in class org.perfectable.introspection.bean.PropertySchema
-
Extracts type of the property.
- typed(Class<X>) - Method in class org.perfectable.introspection.query.AnnotationQuery
-
.
- typed(Type) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields with type that is subtype of specified type.
- typed(TypeFilter) - Method in class org.perfectable.introspection.query.FieldQuery
-
Restricts query to fields which have type that matches specified arbitrary type filter.
- TypeFilter - Interface in org.perfectable.introspection.query
-
Predicate-like interface for matching
Type
. - typesAccepted(Type...) - Static method in interface org.perfectable.introspection.query.ParametersFilter
-
Creates filter that matches when specified types can be used as a arguments for tested executable.
- typesExact(Type...) - Static method in interface org.perfectable.introspection.query.ParametersFilter
-
Creates filter that matches when executable has exactly the provided parameters.
- TypeVariableView<D extends GenericDeclaration> - Class in org.perfectable.introspection.type
-
TypeView
that handlesTypeVariable
. - typeView() - Method in class org.perfectable.introspection.FieldIntrospection
-
Extracts actual declared type of field.
- TypeView - Class in org.perfectable.introspection.type
-
Simplified and more useful handle of java
Type
. - TypeView.PartialVisitor<T> - Class in org.perfectable.introspection.type
-
Implementation of
TypeView.Visitor
that has default method. - TypeView.Visitor<T> - Interface in org.perfectable.introspection.type
-
Visitor pattern interface.
U
- UnsupportedFeatureException(String) - Constructor for exception org.perfectable.introspection.proxy.ProxyService.UnsupportedFeatureException
- unwrap() - Method in class org.perfectable.introspection.type.TypeView
-
Extracts native type from this view.
- upperBounds() - Method in class org.perfectable.introspection.type.TypeVariableView
-
Extracts upper bounds for this variable.
- upperBounds() - Method in class org.perfectable.introspection.type.WildcardTypeView
-
Extracts upper bounds for this wildcard.
- upToExcluding(Class<? super X>) - Method in class org.perfectable.introspection.query.InheritanceQuery
-
Create query which lists the same classes as this one, but only if they are subtypes of provided type, and are not this type.
- upToIncluding(Class<? super X>) - Method in class org.perfectable.introspection.query.InheritanceQuery
-
Create query which lists the same classes as this one, but only if they are subtypes of provided type.
- usingService(ProxyService) - Method in class org.perfectable.introspection.proxy.ProxyBuilder
-
Creates proxy builder that have proxy service replaced.
V
- valueOf(String) - Static method in enum org.perfectable.introspection.proxy.ProxyService.Feature
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.perfectable.introspection.proxy.ProxyService.Feature
-
Returns an array containing the constants of this enum type, in the order they are declared.
- view() - Method in class org.perfectable.introspection.ClassIntrospection
-
Wrap introspected class in
ClassView
. - visit(FunctionalReference.Visitor<T>) - Method in interface org.perfectable.introspection.FunctionalReference.Introspection
-
Visitor Pattern acceptor method.
- visit(TypeView.Visitor<T>) - Method in class org.perfectable.introspection.type.ArrayTypeView
- visit(TypeView.Visitor<T>) - Method in class org.perfectable.introspection.type.ClassView
- visit(TypeView.Visitor<T>) - Method in class org.perfectable.introspection.type.ParameterizedTypeView
- visit(TypeView.Visitor<T>) - Method in class org.perfectable.introspection.type.TypeVariableView
- visit(TypeView.Visitor<T>) - Method in class org.perfectable.introspection.type.TypeView
-
Visitor patter method dispatching method.
- visit(TypeView.Visitor<T>) - Method in class org.perfectable.introspection.type.WildcardTypeView
- visitArray(ArrayTypeView) - Method in class org.perfectable.introspection.type.TypeView.PartialVisitor
- visitArray(ArrayTypeView) - Method in interface org.perfectable.introspection.type.TypeView.Visitor
-
Called when visited type is
ArrayTypeView
. - visitBound(Method, Object) - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
- visitBound(Method, Object) - Method in interface org.perfectable.introspection.FunctionalReference.Visitor
-
Executes when mode of this reference is "bound", i.e.
- visitClass(ClassView<?>) - Method in class org.perfectable.introspection.type.TypeView.PartialVisitor
- visitClass(ClassView<?>) - Method in interface org.perfectable.introspection.type.TypeView.Visitor
-
Called when visited type is
ClassView
. - visitConstructor(Constructor<?>) - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
- visitConstructor(Constructor<?>) - Method in interface org.perfectable.introspection.FunctionalReference.Visitor
-
Executes when mode of this reference is "constructor", i.e.
- visitInstance(Method) - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
- visitInstance(Method) - Method in interface org.perfectable.introspection.FunctionalReference.Visitor
-
Executes when mode of this reference is "instance", i.e.
- visitLambda(Method, List<Object>) - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
- visitLambda(Method, List<Object>) - Method in interface org.perfectable.introspection.FunctionalReference.Visitor
-
Executes when mode of this reference is "lambda".
- visitMethod(Method) - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
-
Executes when mode of this reference is "static", "instance" or "bound".
- visitParameterized(ParameterizedTypeView) - Method in class org.perfectable.introspection.type.TypeView.PartialVisitor
- visitParameterized(ParameterizedTypeView) - Method in interface org.perfectable.introspection.type.TypeView.Visitor
-
Called when visited type is
ParameterizedTypeView
. - visitStatic(Method) - Method in class org.perfectable.introspection.FunctionalReference.PartialVisitor
- visitStatic(Method) - Method in interface org.perfectable.introspection.FunctionalReference.Visitor
-
Executes when mode of this reference is "static", i.e.
- visitVariable(TypeVariableView<?>) - Method in class org.perfectable.introspection.type.TypeView.PartialVisitor
- visitVariable(TypeVariableView<?>) - Method in interface org.perfectable.introspection.type.TypeView.Visitor
-
Called when visited type is
TypeVariableView
. - visitWildcard(WildcardTypeView) - Method in class org.perfectable.introspection.type.TypeView.PartialVisitor
- visitWildcard(WildcardTypeView) - Method in interface org.perfectable.introspection.type.TypeView.Visitor
-
Called when visited type is
WildcardTypeView
.
W
- WAIT - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.wait()
. - WAIT_NANOSECONDS - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.wait(long, int)
. - WAIT_TIMEOUT - Static variable in class org.perfectable.introspection.ObjectMethods
-
Reflection for
Object.wait(long)
. - WildcardTypeView - Class in org.perfectable.introspection.type
-
TypeView
that handlesWildcardType
. - with(AnnotationBuilder.MemberExtractor<A, X>, X) - Method in class org.perfectable.introspection.AnnotationBuilder
-
Configures member of created annotation instances to have specified value.
- withArguments(Object...) - Method in class org.perfectable.introspection.proxy.MethodInvocation
-
Creates new invocation with replaced arguments.
- withExcluded(Type) - Method in interface org.perfectable.introspection.query.TypeFilter
-
Creates filter that matches everything that this one matches, but not exactly the provided type.
- withInterface(Class<?>) - Method in class org.perfectable.introspection.proxy.ProxyBuilder
-
Creates proxy builder that have additional interface added to the proxy class.
- withLowerBound(Type) - Method in interface org.perfectable.introspection.query.TypeFilter
-
Creates filter that matches only when this filter matches, and the matched type is supertype of provided one.
- withMethod(Method) - Method in class org.perfectable.introspection.proxy.MethodInvocation
-
Creates new invocation with replaced method.
- withReceiver(X) - Method in class org.perfectable.introspection.proxy.MethodInvocation
-
Creates new invocation with replaced receiver.
- withRepeatableUnroll() - Method in class org.perfectable.introspection.query.AnnotationQuery
-
Expands repeatable annotations for the results of returned query.
- withUpperBound(Type) - Method in interface org.perfectable.introspection.query.TypeFilter
-
Creates filter that matches only when this filter matches, and the matched type is subtype of provided one.
All Classes All Packages