Uses of Class
org.apache.juneau.reflect.ClassInfo
Packages that use ClassInfo
Package
Description
Method exec stats utilities
- 
Uses of ClassInfo in org.apache.juneauMethods in org.apache.juneau that return ClassInfo
- 
Uses of ClassInfo in org.apache.juneau.cpMethods in org.apache.juneau.cp with parameters of type ClassInfoModifier and TypeMethodDescriptionAllows you to specify a subclass of the specified bean type to create.
- 
Uses of ClassInfo in org.apache.juneau.reflectFields in org.apache.juneau.reflect declared as ClassInfoModifier and TypeFieldDescriptionstatic final ClassInfoClassInfo.OBJECTReusable ClassInfo for Object class.Methods in org.apache.juneau.reflect that return ClassInfoModifier and TypeMethodDescriptionPerforms an action on this object if the specified predicate test passes.ClassInfo.forEachAllField(Predicate<FieldInfo> filter, Consumer<FieldInfo> action) Performs an action on all matching fields on this class and all parent classes.ClassInfo.forEachAllMethodParentFirst(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods on this class and all parent classes.<A extends Annotation>
 ClassInfoClassInfo.forEachAnnotation(Class<A> type, Predicate<A> filter, Consumer<A> action) Performs an action on all matching annotations on this class and superclasses/interfaces.<A extends Annotation>
 ClassInfoClassInfo.forEachAnnotation(AnnotationProvider annotationProvider, Class<A> type, Predicate<A> filter, Consumer<A> action) Performs an action on all matching annotations on this class and superclasses/interfaces.ClassInfo.forEachAnnotationInfo(Predicate<AnnotationInfo<?>> filter, Consumer<AnnotationInfo<?>> action) Performs an action on all matching annotations on this class/parents/package.ClassInfo.forEachDeclaredConstructor(Predicate<ConstructorInfo> filter, Consumer<ConstructorInfo> action) Performs an action on all matching declared constructors on this class.ClassInfo.forEachDeclaredField(Predicate<FieldInfo> filter, Consumer<FieldInfo> action) Performs an action on all matching declared fields on this class.ClassInfo.forEachDeclaredMethod(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching declared methods on this class.ClassInfo.forEachMethod(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching methods on this class.ClassInfo.forEachPublicConstructor(Predicate<ConstructorInfo> filter, Consumer<ConstructorInfo> action) Performs an action on all matching public constructors on this class.ClassInfo.forEachPublicField(Predicate<FieldInfo> filter, Consumer<FieldInfo> action) Performs an action on all matching public fields on this class.ClassInfo.forEachPublicMethod(Predicate<MethodInfo> filter, Consumer<MethodInfo> action) Performs an action on all matching public methods on this class.ClassInfo.getAnyParent(Predicate<ClassInfo> filter) Returns the first matching parent class or interface.AnnotationInfo.getClassInfo()Returns the class that this annotation was found on.AnnotationInfo.getClassOn()Returns the class where the annotation was found.ClassInfo.getComponentType()Returns the base component type of this class if it's an array.final ClassInfoExecutableInfo.getDeclaringClass()Returns metadata about the class that declared this method or constructor.FieldInfo.getDeclaringClass()Returns metadata about the declaring class.ParamInfo.getParameterType()Returns the class type of this parameter.final ClassInfoExecutableInfo.getParamType(int index) Returns the parameter type of the parameter at the specified index.MethodInfo.getReturnType()Returns the generic return type of this method as aClassInfoobject.ClassInfo.getSuperclass()Returns the parent class.FieldInfo.getType()Returns the type of this field.ClassInfo.getWrapperInfoIfPrimitive()Same asgetWrapperIfPrimitive()but wraps it in aClassInfo.static ClassInfoReturns a class info wrapper around the specified class type.static ClassInfoReturns a class info wrapper around the specified class type.static ClassInfoSame as using the constructor, but operates on an object instance.static ClassInfoReturns a class info wrapper around the specified class type.static ClassInfoSame asof(Object)but attempts to deproxify the object if it's wrapped in a CGLIB proxy.Methods in org.apache.juneau.reflect that return types with arguments of type ClassInfoModifier and TypeMethodDescriptionClassInfo.getAllParents()Returns a list including this class and all parent classes and interfaces.ClassInfo.getDeclaredInterfaces()Returns a list of interfaces declared on this class.ExecutableInfo.getExceptionTypes()Returns the exception types on this executable.ClassInfo.getInterfaces()Returns a list of interfaces defined on this class and superclasses.ExecutableInfo.getParamTypes()Returns the parameter types on this executable.ClassInfo.getParents()Returns a list including this class and all parent classes.Methods in org.apache.juneau.reflect with parameters of type ClassInfoModifier and TypeMethodDescriptionfinal intExecutableInfo.fuzzyArgsMatch(ClassInfo... argTypes) Returns how well this method matches the specified arg types.final booleanExecutableInfo.hasFuzzyParamTypes(ClassInfo... args) Returnstrue if this method has at most only this arguments in any order.final booleanExecutableInfo.hasMatchingParamTypes(ClassInfo... args) Returnstrue if this method has the specified argument parent classes.final booleanExecutableInfo.hasParamTypes(ClassInfo... args) Returnstrue if this method has the specified arguments.booleanMethodInfo.hasReturnType(ClassInfo ci) Returnstrue if this method has this return type.booleanMethodInfo.hasReturnTypeParent(ClassInfo ci) Returnstrue if this method has this parent return type.booleanChecks for equality with the specified class.booleanReturnstrue if this class is a child or the same asparent .booleanClassInfo.isParentOfFuzzyPrimitives(ClassInfo child) Same asisParentOfFuzzyPrimitives(Class)but takes in aClassInfo.static <A extends Annotation>
 AnnotationInfo<A>Convenience constructor when annotation is found on a class.static ConstructorInfoConstructorInfo.of(ClassInfo declaringClass, Constructor<?> c) Convenience method for instantiating aConstructorInfo;static FieldInfoConvenience method for instantiating aFieldInfo;static MethodInfoConvenience method for instantiating aMethodInfo;Method parameters in org.apache.juneau.reflect with type arguments of type ClassInfoModifier and TypeMethodDescriptionPerforms an action on this object if the specified predicate test passes.Performs an action on this object if the specified predicate test passes.ClassInfo.getAnyParent(Predicate<ClassInfo> filter) Returns the first matching parent class or interface.booleanReturnstrue if this object passes the specified predicate test.Constructors in org.apache.juneau.reflect with parameters of type ClassInfoModifierConstructorDescriptionprotectedConstructorInfo(ClassInfo declaringClass, Constructor<?> c) Constructor.protectedExecutableInfo(ClassInfo declaringClass, Executable e) Constructor.protectedConstructor.protectedMethodInfo(ClassInfo declaringClass, Method m) Constructor.
- 
Uses of ClassInfo in org.apache.juneau.rest.statsMethods in org.apache.juneau.rest.stats that return ClassInfoModifier and TypeMethodDescriptionMethodInvoker.getDeclaringClass()Convenience method for callinginner().getDeclaringClass() 
- 
Uses of ClassInfo in org.apache.juneau.swapMethods in org.apache.juneau.swap that return ClassInfoModifier and TypeMethodDescriptionObjectSwap.getNormalClass()Returns the T class, the normalized form of the class.ObjectSwap.getSwapClass()Returns the G class, the generalized form of the class.Methods in org.apache.juneau.swap with parameters of type ClassInfoModifier and TypeMethodDescriptionstatic ObjectSwap<?,?> AutoListSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoMapSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoNumberSwap.find(BeanContext bc, ClassInfo ci) Look for constructors and methods on this class and construct a dynamic swap if it's possible to do so.static ObjectSwap<?,?> AutoObjectSwap.find(BeanContext bc, ClassInfo ci) Inspects the specified class and returns a swap of this type if possible.static ObjectSwap<?,?> Find the default ObjectSwap for the specified class.