Class RecordedClass
java.lang.Object
jdk.jfr.consumer.RecordedObject
jdk.jfr.consumer.RecordedClass
A recorded Java type, such as a class or an interface.
- Since:
- 9
- 
Method SummaryMethods declared in class jdk.jfr.consumer.RecordedObjectgetBoolean, getByte, getChar, getClass, getDouble, getDuration, getFields, getFloat, getInstant, getInt, getLong, getShort, getString, getThread, getValue, hasField, toString
- 
Method Details- 
getModifierspublic int getModifiers()Returns the modifiers of the class.- Returns:
- the modifiers
- See Also:
 
- 
getClassLoaderReturns the class loader that defined the class.If the bootstrap class loader is represented as nullin the Java Virtual Machine (JVM), thennullis also the return value of this method.- Returns:
- the class loader defining this class, can be null
 
- 
getNameReturns the fully qualified name of the class (for example,"java.lang.String").- Returns:
- the class name, not null
 
- 
getIdpublic long getId()Returns a unique ID for the class.The ID might not be the same between Java Virtual Machine (JVM) instances. - Returns:
- a unique ID
 
 
-