APIdia Launch Partner
Top Fields Constructors Methods
jdk.jfr.internal

pack-priv final Class ClassInspector

extends Object
Class Inheritance
Static Imports
jdk.jfr.internal.util.Bytecode.classDesc

Field Summary

Modifier and TypeField and Description
private static final ClassDesc
private static final ClassDesc
private static final ClassDesc
private static final ClassDesc
private static final ClassDesc
private final ClassModel
private final String
private static final String[]
private final List<Bytecode.FieldDesc>
private final ImplicitFields
private final boolean
private final List<Bytecode.SettingDesc>
private final Class<?>
private static final ClassDesc

Constructor Summary

AccessConstructor and Description
pack-priv
ClassInspector(Class<?> superClass, byte[] bytes, boolean isJDK)

Method Summary

Modifier and TypeMethod and Description
private <T> T
annotationValue(ClassDesc classDesc, Class<T> type, T defaultValue)

private void
buildClassSettings(Set<String> foundMethods)

pack-priv void
pack-priv void
private void
buildSettingsMethod(Set<String> foundMethods, Method method)

private void
private ImplicitFields
pack-priv Bytecode.MethodDesc
pack-priv ClassDesc
pack-priv ClassModel
pack-priv String
pack-priv String
pack-priv List<Bytecode.FieldDesc>
private Annotation
pack-priv List<Bytecode.SettingDesc>
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
pack-priv boolean
isThrottled(Bytecode.MethodDesc staticThrottleMethod)

pack-priv static boolean
isValidField(int access, ClassDesc classDesc)

pack-priv static boolean
isValidField(int access, String className)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ANNOTATION_ENABLEDback to summary
private static final ClassDesc ANNOTATION_ENABLED
ANNOTATION_NAMEback to summary
private static final ClassDesc ANNOTATION_NAME
ANNOTATION_REGISTEREDback to summary
private static final ClassDesc ANNOTATION_REGISTERED
ANNOTATION_REMOVE_FIELDSback to summary
private static final ClassDesc ANNOTATION_REMOVE_FIELDS
ANNOTATION_THROTTLEback to summary
private static final ClassDesc ANNOTATION_THROTTLE
classModelback to summary
private final ClassModel classModel
classNameback to summary
private final String className
EMPTY_STRING_ARRAYback to summary
private static final String[] EMPTY_STRING_ARRAY
fieldDescsback to summary
private final List<Bytecode.FieldDesc> fieldDescs
implicitFieldsback to summary
private final ImplicitFields implicitFields
isJDKback to summary
private final boolean isJDK
settingsDescsback to summary
private final List<Bytecode.SettingDesc> settingsDescs
superClassback to summary
private final Class<?> superClass
TYPE_SETTING_DEFINITIONback to summary
private static final ClassDesc TYPE_SETTING_DEFINITION

Constructor Detail

ClassInspectorback to summary
pack-priv ClassInspector(Class<?> superClass, byte[] bytes, boolean isJDK)

Method Detail

annotationValueback to summary
private <T> T annotationValue(ClassDesc classDesc, Class<T> type, T defaultValue)
Annotations
@SuppressWarnings:unchecked
buildClassSettingsback to summary
private void buildClassSettings(Set<String> foundMethods)
buildFieldsback to summary
pack-priv void buildFields()
buildSettingsback to summary
pack-priv void buildSettings()
buildSettingsMethodback to summary
private void buildSettingsMethod(Set<String> foundMethods, Method method)
buildSuperClassSettingsback to summary
private void buildSuperClassSettings(Set<String> foundMethods)
determineImplicitFieldsback to summary
private ImplicitFields determineImplicitFields()
findStaticCommitMethodback to summary
pack-priv Bytecode.MethodDesc findStaticCommitMethod()
getClassDescback to summary
pack-priv ClassDesc getClassDesc()
getClassModelback to summary
pack-priv ClassModel getClassModel()
getClassNameback to summary
pack-priv String getClassName()
getEventNameback to summary
pack-priv String getEventName()
getFieldsback to summary
pack-priv List<Bytecode.FieldDesc> getFields()
getFirstAnnotationback to summary
private Annotation getFirstAnnotation(ClassDesc classDesc)
getSettingsback to summary
pack-priv List<Bytecode.SettingDesc> getSettings()
hasDurationback to summary
pack-priv boolean hasDuration()
hasEventThreadback to summary
pack-priv boolean hasEventThread()
hasStackTraceback to summary
pack-priv boolean hasStackTrace()
hasStaticMethodback to summary
pack-priv boolean hasStaticMethod(Bytecode.MethodDesc method)
isEnabledback to summary
pack-priv boolean isEnabled()
isJDKback to summary
pack-priv boolean isJDK()
isRegisteredback to summary
pack-priv boolean isRegistered()
isThrottledback to summary
pack-priv boolean isThrottled(Bytecode.MethodDesc staticThrottleMethod)
isValidFieldback to summary
pack-priv static boolean isValidField(int access, ClassDesc classDesc)
isValidFieldback to summary
pack-priv static boolean isValidField(int access, String className)