public interface BeanInfo<T extends BeanInfo> extends AnnotationAware
| Modifier and Type | Interface and Description |
|---|---|
static class |
BeanInfo.Util |
| Modifier and Type | Method and Description |
|---|---|
Annotation[] |
allAnnotations()
Returns annotations marked on the Bean directly.
|
int |
getModifiers()
Returns the modifiers of the Bean.
|
boolean |
isArray()
Check if the Bean is an array.
|
boolean |
isFinal()
Check if the Bean is final (applied to field bean)
|
boolean |
isInstance(Object o)
Check if specified object instance is an instance of the type represented by this Bean.
|
boolean |
isInstanceOf(Class c)
Check if the Bean is an instance of class
c. |
boolean |
isInterface()
Check if the Bean is static (applied to field bean)
|
boolean |
isPrivate()
Check if the Bean is private (applied to field bean)
|
boolean |
isProtected()
Check if the Bean is protected (applied to field bean)
|
boolean |
isPublic()
Check if the Bean is public (applied to field bean)
|
boolean |
isStatic()
Check if the Bean is static (applied to field bean)
|
boolean |
isTransient()
Check if the Bean is transient (applied to field bean).
|
String |
name()
Returns the Bean name.
|
Class |
rawType()
Returns the
raw type of the Bean. |
Type |
type()
Returns the
Type of the Bean. |
List<Type> |
typeParams() |
getAnnotation, hasAnnotationString name()
Returns the Bean name.
boolean isArray()
Check if the Bean is an array.
true if the bean is an array or false otherwise.Annotation[] allAnnotations()
Returns annotations marked on the Bean directly.
int getModifiers()
Returns the modifiers of the Bean.
boolean isTransient()
Check if the Bean is transient (applied to field bean).
true if the field the bean represented is transientboolean isStatic()
Check if the Bean is static (applied to field bean)
true if the field represented by the bean is staticboolean isPrivate()
Check if the Bean is private (applied to field bean)
true if the field represented by the bean is privateboolean isPublic()
Check if the Bean is public (applied to field bean)
true if the field represented by the bean is publicboolean isProtected()
Check if the Bean is protected (applied to field bean)
true if the field represented by the bean is protectedboolean isFinal()
Check if the Bean is final (applied to field bean)
true if the field represented by the bean is finalboolean isInterface()
Check if the Bean is static (applied to field bean)
true if the field represented by the bean is staticboolean isInstanceOf(Class c)
Check if the Bean is an instance of class c.
c - the classtrue if the bean is an instance of class cboolean isInstance(Object o)
Check if specified object instance is an instance of the type represented by this Bean.
o - the object to be tested.true if o is an instance of the type of this BeanCopyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.