Package org.openjdk.jmc.agent
Interface Convertable
- All Known Subinterfaces:
Attribute
- All Known Implementing Classes:
AbstractConvertable,Field,Parameter,ResolvedConvertable,ReturnValue
public interface Convertable
Interface for something that can use a converter to translate a value.
-
Method Summary
Modifier and TypeMethodDescriptionThe class name of the converter to use.default boolean
-
Method Details
-
hasConverter
default boolean hasConverter()- Returns:
- true if this is convertable, false otherwise.
-
getConverterDefinition
String getConverterDefinition()The class name of the converter to use.- Returns:
- the class name of the converter to use, or null, if no converter should be used.
-