Represents a Java class or interface.
java.lang.Class
| Modifier and Type | Method and Description |
|---|---|
| public default <T extends Annotation> Set | getAnnotations(Class<T>
the class of the annotation type annotationType)Implements javax. Get program element annotations of a certain annotation type. |
| public Set | Returns: the constructors, or an empty set if none are definedGet the constructors of the type. |
| public Set | |
| public Class | |
| public Set |
| getAnnotations | back to summary |
|---|---|
| public default <T extends Annotation> Set Implements javax. Doc from javax. Get program element annotations of a certain annotation type.
This method returns back all annotations, including repeatable annotations of this type.
The behavior of this method is intended to be the same behavior as | |
| getConstructors | back to summary |
|---|---|
| public Set Get the constructors of the type. If an empty set is returned, a default constructor with no parameters will be assumed.
| |
| getFields | back to summary |
|---|---|
| public Set Get the fields of the type.
| |
| getJavaClass | back to summary |
|---|---|
| public Class
Get the underlying
| |
| getMethods | back to summary |
|---|---|
| public Set Get the methods of the type.
| |