GeezerVison is showing docs.oracle.com — Introspector (Java Platform SE 8 )
Java™ Platform Standard Ed. 8
java.beans
Class Introspector
-
-
Method Summary
All Methods Static Methods Concrete Methods
| Modifier and Type |
Method |
Description |
static String |
decapitalize(String name) |
Utility method to take a string and convert it to normal Java variable
name capitalization.
|
static void |
flushCaches() |
Flush all of the Introspector's internal caches.
|
static void |
flushFromCaches(Class<?> clz) |
Flush the Introspector's internal cached information for a given class.
|
static BeanInfo |
getBeanInfo(Class<?> beanClass) |
Introspect on a Java Bean and learn about all its properties, exposed
methods, and events.
|
static BeanInfo |
getBeanInfo(Class<?> beanClass,
Class<?> stopClass) |
Introspect on a Java bean and learn all about its properties, exposed
methods, below a given "stop" point.
|
static BeanInfo |
getBeanInfo(Class<?> beanClass,
Class<?> stopClass,
int flags) |
Introspect on a Java Bean and learn about all its properties,
exposed methods and events, below a given stopClass point
subject to some control flags.
|
static BeanInfo |
getBeanInfo(Class<?> beanClass,
int flags) |
Introspect on a Java bean and learn about all its properties, exposed
methods, and events, subject to some control flags.
|
static String[] |
getBeanInfoSearchPath() |
Gets the list of package names that will be used for
finding BeanInfo classes.
|
static void |
setBeanInfoSearchPath(String[] path) |
Change the list of package names that will be used for
finding BeanInfo classes.
|
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
flushCaches
public static void flushCaches()
Flush all of the Introspector's internal caches. This method is
not normally required. It is normally only needed by advanced
tools that update existing "Class" objects in-place and need
to make the Introspector re-analyze existing Class objects.
-
flushFromCaches
public static void flushFromCaches(Class<?> clz)
Flush the Introspector's internal cached information for a given class.
This method is not normally required. It is normally only needed
by advanced tools that update existing "Class" objects in-place
and need to make the Introspector re-analyze an existing Class object.
Note that only the direct state associated with the target Class
object is flushed. We do not flush state for other Class objects
with the same name, nor do we flush state for any related Class
objects (such as subclasses), even though their state may include
information indirectly obtained from the target Class object.
- Parameters:
clz - Class object to be flushed.
- Throws:
NullPointerException - If the Class object is null.
Java™ Platform Standard Ed. 8
Submit a bug or feature For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
|