Enum MinimumClassFileVersionValidator
- java.lang.Object
-
- java.lang.Enum<MinimumClassFileVersionValidator>
-
- co.elastic.apm.agent.bci.bytebuddy.MinimumClassFileVersionValidator
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MinimumClassFileVersionValidator>,net.bytebuddy.asm.AsmVisitorWrapper
public enum MinimumClassFileVersionValidator extends java.lang.Enum<MinimumClassFileVersionValidator> implements net.bytebuddy.asm.AsmVisitorWrapper
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMinimumClassFileVersionValidator.UnsupportedClassFileVersionException-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.AsmVisitorWrapper
net.bytebuddy.asm.AsmVisitorWrapper.AbstractBase, net.bytebuddy.asm.AsmVisitorWrapper.Compound, net.bytebuddy.asm.AsmVisitorWrapper.ForDeclaredFields, net.bytebuddy.asm.AsmVisitorWrapper.ForDeclaredMethods, net.bytebuddy.asm.AsmVisitorWrapper.NoOp
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intmergeReader(int flags)intmergeWriter(int flags)static MinimumClassFileVersionValidatorvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MinimumClassFileVersionValidator[]values()Returns an array containing the constants of this enum type, in the order they are declared.org.objectweb.asm.ClassVisitorwrap(net.bytebuddy.description.type.TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, net.bytebuddy.implementation.Implementation.Context implementationContext, net.bytebuddy.pool.TypePool typePool, net.bytebuddy.description.field.FieldList<net.bytebuddy.description.field.FieldDescription.InDefinedShape> fields, net.bytebuddy.description.method.MethodList<?> methods, int writerFlags, int readerFlags)
-
-
-
Enum Constant Detail
-
V1_4
public static final MinimumClassFileVersionValidator V1_4
-
V1_5
public static final MinimumClassFileVersionValidator V1_5
-
-
Method Detail
-
values
public static MinimumClassFileVersionValidator[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MinimumClassFileVersionValidator c : MinimumClassFileVersionValidator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MinimumClassFileVersionValidator valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
wrap
public org.objectweb.asm.ClassVisitor wrap(net.bytebuddy.description.type.TypeDescription instrumentedType, org.objectweb.asm.ClassVisitor classVisitor, net.bytebuddy.implementation.Implementation.Context implementationContext, net.bytebuddy.pool.TypePool typePool, net.bytebuddy.description.field.FieldList<net.bytebuddy.description.field.FieldDescription.InDefinedShape> fields, net.bytebuddy.description.method.MethodList<?> methods, int writerFlags, int readerFlags)- Specified by:
wrapin interfacenet.bytebuddy.asm.AsmVisitorWrapper
-
mergeWriter
public int mergeWriter(int flags)
- Specified by:
mergeWriterin interfacenet.bytebuddy.asm.AsmVisitorWrapper
-
mergeReader
public int mergeReader(int flags)
- Specified by:
mergeReaderin interfacenet.bytebuddy.asm.AsmVisitorWrapper
-
-