Package org.openjdk.jmc.common.item
Interface IAccessorKey<T>
- Type Parameters:
T
- Class type of the content type. Also matches the class of the values returned by associated member accessors.
- All Known Implementing Classes:
Attribute
public interface IAccessorKey<T>
Key used to get a
IMemberAccessor
from IType.getAccessor(IAccessorKey)
. Normally
only used when introspecting an IType
to get a list of all known accessors.-
Method Summary
Modifier and TypeMethodDescriptionThe content type of this attribute.A identifier is a text string identifying the attribute.
-
Method Details
-
getContentType
ContentType<T> getContentType()The content type of this attribute. The type can be an opaque (or leaf) type in which case its instances can be of any class (but typically restricted according to the type). It can also be a structured type which has attributes (fields) of its own, in which case its instances currently must implementIItem
.- Returns:
- the content type of this attribute
-
getIdentifier
String getIdentifier()A identifier is a text string identifying the attribute. It must never be localized and it should only contain characters that are safe to use in various configuration files, e.g. as XML tags. (Analogous toField.getName()
.)- Returns:
- the attribute identifier
-