| Modifier and Type | Class and Description |
|---|---|
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| private MethodFilter. | |
| public static final MethodFilter | ONLY_GETTERS
Rejects any method that returns |
| public static final MethodFilter | ONLY_SETTERS
Rejects any method that doesn't accept a single parameter. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public MethodDescriptor | Returns: a descriptor for the given methoda dot separated string denoting a path of nested object names prefix, Method a actual class method to be associated with this prefix method)Creates a descriptor for a getter or setter method |
| public static MethodFilter | |
| public static MethodFilter[] |
| filter | back to summary |
|---|---|
| private MethodFilter. | |
| ONLY_GETTERS | back to summary |
|---|---|
| public static final MethodFilter ONLY_GETTERS Rejects any method that returns | |
| ONLY_SETTERS | back to summary |
|---|---|
| public static final MethodFilter ONLY_SETTERS Rejects any method that doesn't accept a single parameter. | |
| MethodFilter | back to summary |
|---|---|
| private MethodFilter(MethodFilter. | |
| reject | back to summary |
|---|---|
| public boolean reject(Method method) Tests whether a method is not a getter or setter and should be rejected.
| |
| toDescriptor | back to summary |
|---|---|
| public MethodDescriptor toDescriptor(String prefix, Method method) Creates a descriptor for a getter or setter method
| |
| valueOf | back to summary |
|---|---|
| public static MethodFilter valueOf(String name) | |
| values | back to summary |
|---|---|
| public static MethodFilter[] values() | |
| reject | back to summary |
|---|---|
| public boolean reject(Method method) | |