Schnittstelle ClassFileConstants
- Alle bekannten Implementierungsklassen:
ConstantPool
public interface ClassFileConstants
-
Feldübersicht
Modifizierer und TypFeldBeschreibungstatic final int
Flags in module declaration - since java9static final int
static final int
static final int
static final int
static final int
static final int
Extra flags for types and members attributes (not from the JVMS, should have been defined in ExtraCompilerModifiers).static final int
static final int
static final int
static final int
static final int
static final int
static final int
From classfile version 52 (compliance 1.8 up), meaning that a formal parameter is mandated by a language specification, so all compilers for the language must emit it.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Other VM flags.static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final long
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic long
getComplianceLevelForJavaVersion
(int major) As we move away from declaring every compliance level explicitly (such as JDK11, JDK12 etc.), this method can be used to compute the compliance level on the fly for a given Java major version.static long
-
Felddetails
-
AccDefault
static final int AccDefault- Siehe auch:
-
AccPublic
static final int AccPublic- Siehe auch:
-
AccPrivate
static final int AccPrivate- Siehe auch:
-
AccProtected
static final int AccProtected- Siehe auch:
-
AccStatic
static final int AccStatic- Siehe auch:
-
AccFinal
static final int AccFinal- Siehe auch:
-
AccSynchronized
static final int AccSynchronized- Siehe auch:
-
AccVolatile
static final int AccVolatile- Siehe auch:
-
AccBridge
static final int AccBridge- Siehe auch:
-
AccTransient
static final int AccTransient- Siehe auch:
-
AccVarargs
static final int AccVarargs- Siehe auch:
-
AccNative
static final int AccNative- Siehe auch:
-
AccInterface
static final int AccInterface- Siehe auch:
-
AccAbstract
static final int AccAbstract- Siehe auch:
-
AccStrictfp
static final int AccStrictfp- Siehe auch:
-
AccSynthetic
static final int AccSynthetic- Siehe auch:
-
AccAnnotation
static final int AccAnnotation- Siehe auch:
-
AccEnum
static final int AccEnum- Siehe auch:
-
AccModule
static final int AccModule- Siehe auch:
-
AccMandated
static final int AccMandatedFrom classfile version 52 (compliance 1.8 up), meaning that a formal parameter is mandated by a language specification, so all compilers for the language must emit it.- Siehe auch:
-
ACC_OPEN
static final int ACC_OPENFlags in module declaration - since java9- Siehe auch:
-
ACC_TRANSITIVE
static final int ACC_TRANSITIVE- Siehe auch:
-
ACC_STATIC_PHASE
static final int ACC_STATIC_PHASE- Siehe auch:
-
ACC_SYNTHETIC
static final int ACC_SYNTHETIC- Siehe auch:
-
AccSuper
static final int AccSuperOther VM flags.- Siehe auch:
-
AccAnnotationDefault
static final int AccAnnotationDefaultExtra flags for types and members attributes (not from the JVMS, should have been defined in ExtraCompilerModifiers).- Siehe auch:
-
AccDeprecated
static final int AccDeprecated- Siehe auch:
-
Utf8Tag
static final int Utf8Tag- Siehe auch:
-
IntegerTag
static final int IntegerTag- Siehe auch:
-
FloatTag
static final int FloatTag- Siehe auch:
-
LongTag
static final int LongTag- Siehe auch:
-
DoubleTag
static final int DoubleTag- Siehe auch:
-
ClassTag
static final int ClassTag- Siehe auch:
-
StringTag
static final int StringTag- Siehe auch:
-
FieldRefTag
static final int FieldRefTag- Siehe auch:
-
MethodRefTag
static final int MethodRefTag- Siehe auch:
-
InterfaceMethodRefTag
static final int InterfaceMethodRefTag- Siehe auch:
-
NameAndTypeTag
static final int NameAndTypeTag- Siehe auch:
-
MethodHandleTag
static final int MethodHandleTag- Siehe auch:
-
MethodTypeTag
static final int MethodTypeTag- Siehe auch:
-
DynamicTag
static final int DynamicTag- Siehe auch:
-
InvokeDynamicTag
static final int InvokeDynamicTag- Siehe auch:
-
ModuleTag
static final int ModuleTag- Siehe auch:
-
PackageTag
static final int PackageTag- Siehe auch:
-
ConstantMethodRefFixedSize
static final int ConstantMethodRefFixedSize- Siehe auch:
-
ConstantClassFixedSize
static final int ConstantClassFixedSize- Siehe auch:
-
ConstantDoubleFixedSize
static final int ConstantDoubleFixedSize- Siehe auch:
-
ConstantFieldRefFixedSize
static final int ConstantFieldRefFixedSize- Siehe auch:
-
ConstantFloatFixedSize
static final int ConstantFloatFixedSize- Siehe auch:
-
ConstantIntegerFixedSize
static final int ConstantIntegerFixedSize- Siehe auch:
-
ConstantInterfaceMethodRefFixedSize
static final int ConstantInterfaceMethodRefFixedSize- Siehe auch:
-
ConstantLongFixedSize
static final int ConstantLongFixedSize- Siehe auch:
-
ConstantStringFixedSize
static final int ConstantStringFixedSize- Siehe auch:
-
ConstantUtf8FixedSize
static final int ConstantUtf8FixedSize- Siehe auch:
-
ConstantNameAndTypeFixedSize
static final int ConstantNameAndTypeFixedSize- Siehe auch:
-
ConstantMethodHandleFixedSize
static final int ConstantMethodHandleFixedSize- Siehe auch:
-
ConstantMethodTypeFixedSize
static final int ConstantMethodTypeFixedSize- Siehe auch:
-
ConstantDynamicFixedSize
static final int ConstantDynamicFixedSize- Siehe auch:
-
ConstantInvokeDynamicFixedSize
static final int ConstantInvokeDynamicFixedSize- Siehe auch:
-
ConstantModuleFixedSize
static final int ConstantModuleFixedSize- Siehe auch:
-
ConstantPackageFixedSize
static final int ConstantPackageFixedSize- Siehe auch:
-
MethodHandleRefKindGetField
static final int MethodHandleRefKindGetField- Siehe auch:
-
MethodHandleRefKindGetStatic
static final int MethodHandleRefKindGetStatic- Siehe auch:
-
MethodHandleRefKindPutField
static final int MethodHandleRefKindPutField- Siehe auch:
-
MethodHandleRefKindPutStatic
static final int MethodHandleRefKindPutStatic- Siehe auch:
-
MethodHandleRefKindInvokeVirtual
static final int MethodHandleRefKindInvokeVirtual- Siehe auch:
-
MethodHandleRefKindInvokeStatic
static final int MethodHandleRefKindInvokeStatic- Siehe auch:
-
MethodHandleRefKindInvokeSpecial
static final int MethodHandleRefKindInvokeSpecial- Siehe auch:
-
MethodHandleRefKindNewInvokeSpecial
static final int MethodHandleRefKindNewInvokeSpecial- Siehe auch:
-
MethodHandleRefKindInvokeInterface
static final int MethodHandleRefKindInvokeInterface- Siehe auch:
-
MAJOR_VERSION_1_1
static final int MAJOR_VERSION_1_1- Siehe auch:
-
MAJOR_VERSION_1_2
static final int MAJOR_VERSION_1_2- Siehe auch:
-
MAJOR_VERSION_1_3
static final int MAJOR_VERSION_1_3- Siehe auch:
-
MAJOR_VERSION_1_4
static final int MAJOR_VERSION_1_4- Siehe auch:
-
MAJOR_VERSION_1_5
static final int MAJOR_VERSION_1_5- Siehe auch:
-
MAJOR_VERSION_1_6
static final int MAJOR_VERSION_1_6- Siehe auch:
-
MAJOR_VERSION_1_7
static final int MAJOR_VERSION_1_7- Siehe auch:
-
MAJOR_VERSION_1_8
static final int MAJOR_VERSION_1_8- Siehe auch:
-
MAJOR_VERSION_9
static final int MAJOR_VERSION_9- Siehe auch:
-
MAJOR_VERSION_10
static final int MAJOR_VERSION_10- Siehe auch:
-
MAJOR_VERSION_11
static final int MAJOR_VERSION_11- Siehe auch:
-
MAJOR_VERSION_12
static final int MAJOR_VERSION_12- Siehe auch:
-
MAJOR_VERSION_13
static final int MAJOR_VERSION_13- Siehe auch:
-
MAJOR_VERSION_14
static final int MAJOR_VERSION_14- Siehe auch:
-
MAJOR_VERSION_15
static final int MAJOR_VERSION_15- Siehe auch:
-
MAJOR_VERSION_16
static final int MAJOR_VERSION_16- Siehe auch:
-
MAJOR_VERSION_17
static final int MAJOR_VERSION_17- Siehe auch:
-
MAJOR_VERSION_18
static final int MAJOR_VERSION_18- Siehe auch:
-
MAJOR_VERSION_19
static final int MAJOR_VERSION_19- Siehe auch:
-
MAJOR_VERSION_20
static final int MAJOR_VERSION_20- Siehe auch:
-
MAJOR_VERSION_0
static final int MAJOR_VERSION_0- Siehe auch:
-
MAJOR_LATEST_VERSION
static final int MAJOR_LATEST_VERSION- Siehe auch:
-
MINOR_VERSION_0
static final int MINOR_VERSION_0- Siehe auch:
-
MINOR_VERSION_1
static final int MINOR_VERSION_1- Siehe auch:
-
MINOR_VERSION_2
static final int MINOR_VERSION_2- Siehe auch:
-
MINOR_VERSION_3
static final int MINOR_VERSION_3- Siehe auch:
-
MINOR_VERSION_4
static final int MINOR_VERSION_4- Siehe auch:
-
MINOR_VERSION_PREVIEW
static final int MINOR_VERSION_PREVIEW- Siehe auch:
-
JDK1_1
static final long JDK1_1- Siehe auch:
-
JDK1_2
static final long JDK1_2- Siehe auch:
-
JDK1_3
static final long JDK1_3- Siehe auch:
-
JDK1_4
static final long JDK1_4- Siehe auch:
-
JDK1_5
static final long JDK1_5- Siehe auch:
-
JDK1_6
static final long JDK1_6- Siehe auch:
-
JDK1_7
static final long JDK1_7- Siehe auch:
-
JDK1_8
static final long JDK1_8- Siehe auch:
-
JDK9
static final long JDK9- Siehe auch:
-
JDK10
static final long JDK10- Siehe auch:
-
JDK11
static final long JDK11- Siehe auch:
-
JDK12
static final long JDK12- Siehe auch:
-
JDK13
static final long JDK13- Siehe auch:
-
JDK14
static final long JDK14- Siehe auch:
-
JDK15
static final long JDK15- Siehe auch:
-
JDK16
static final long JDK16- Siehe auch:
-
JDK17
static final long JDK17- Siehe auch:
-
JDK18
static final long JDK18- Siehe auch:
-
JDK19
static final long JDK19- Siehe auch:
-
JDK20
static final long JDK20- Siehe auch:
-
CLDC_1_1
static final long CLDC_1_1- Siehe auch:
-
JDK_DEFERRED
static final long JDK_DEFERRED- Siehe auch:
-
INT_ARRAY
static final int INT_ARRAY- Siehe auch:
-
BYTE_ARRAY
static final int BYTE_ARRAY- Siehe auch:
-
BOOLEAN_ARRAY
static final int BOOLEAN_ARRAY- Siehe auch:
-
SHORT_ARRAY
static final int SHORT_ARRAY- Siehe auch:
-
CHAR_ARRAY
static final int CHAR_ARRAY- Siehe auch:
-
LONG_ARRAY
static final int LONG_ARRAY- Siehe auch:
-
FLOAT_ARRAY
static final int FLOAT_ARRAY- Siehe auch:
-
DOUBLE_ARRAY
static final int DOUBLE_ARRAY- Siehe auch:
-
ATTR_SOURCE
static final int ATTR_SOURCE- Siehe auch:
-
ATTR_LINES
static final int ATTR_LINES- Siehe auch:
-
ATTR_VARS
static final int ATTR_VARS- Siehe auch:
-
ATTR_STACK_MAP_TABLE
static final int ATTR_STACK_MAP_TABLE- Siehe auch:
-
ATTR_STACK_MAP
static final int ATTR_STACK_MAP- Siehe auch:
-
ATTR_TYPE_ANNOTATION
static final int ATTR_TYPE_ANNOTATION- Siehe auch:
-
ATTR_METHOD_PARAMETERS
static final int ATTR_METHOD_PARAMETERS- Siehe auch:
-
FLAG_SERIALIZABLE
static final int FLAG_SERIALIZABLE- Siehe auch:
-
FLAG_MARKERS
static final int FLAG_MARKERS- Siehe auch:
-
FLAG_BRIDGES
static final int FLAG_BRIDGES- Siehe auch:
-
-
Methodendetails
-
getLatestJDKLevel
static long getLatestJDKLevel() -
getComplianceLevelForJavaVersion
static long getComplianceLevelForJavaVersion(int major) As we move away from declaring every compliance level explicitly (such as JDK11, JDK12 etc.), this method can be used to compute the compliance level on the fly for a given Java major version.- Parameter:
major
- Java major version- Gibt zurück:
- the compliance level for the given Java version
-