@JavaDispatcher.Proxied(value="java.lang.reflect.RecordComponent") protected static interface RecordComponentDescription.ForLoadedRecordComponent.RecordComponent
java.lang.reflect.RecordComponent
.Modifier and Type | Method and Description |
---|---|
Method |
getAccessor(Object value)
Resolves a record component's accessor method.
|
AnnotatedElement |
getAnnotatedType(Object value)
Resolves a record component's annotated type.
|
Class<?> |
getDeclaringRecord(Object value)
Resolves a record component's declaring type.
|
String |
getGenericSignature(Object value)
Returns the record component type's generic signature.
|
Type |
getGenericType(Object value)
Resolves a record component's generic type.
|
String |
getName(Object value)
Resolves a record component's name.
|
Class<?> |
getType(Object value)
Resolves a record component's type.
|
boolean |
isInstance(Object instance)
Checks if the supplied instance is a record component.
|
@JavaDispatcher.Instance boolean isInstance(Object instance)
instance
- The instance to evaluate.true
if the supplied instance is a record component.String getName(Object value)
value
- The record component to resolve the name for.Class<?> getDeclaringRecord(Object value)
value
- The record component to resolve the declared type for.Method getAccessor(Object value)
value
- The record component to resolve the accessor method for.Class<?> getType(Object value)
value
- The record component to resolve the type for.Type getGenericType(Object value)
value
- The record component to resolve the generic type for.String getGenericSignature(Object value)
value
- The record component to resolve the generic signature for.null
if no signature is defined.AnnotatedElement getAnnotatedType(Object value)
value
- The record component to resolve the annotated type for.Copyright © 2014–2021. All rights reserved.