public abstract class org.apache.lucene.codecs.Codec implements org.apache.lucene.util.NamedSPILoader$NamedSPI
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.codecs.Codec
super_class: java.lang.Object
{
private final java.lang.String name;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 1
invokestatic org.apache.lucene.util.NamedSPILoader.checkServiceName:(Ljava/lang/String;)V
2: aload 0
aload 1
putfield org.apache.lucene.codecs.Codec.name:Ljava/lang/String;
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/codecs/Codec;
0 4 1 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public final java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.codecs.Codec.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/codecs/Codec;
public abstract org.apache.lucene.codecs.PostingsFormat postingsFormat();
descriptor: ()Lorg/apache/lucene/codecs/PostingsFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.DocValuesFormat docValuesFormat();
descriptor: ()Lorg/apache/lucene/codecs/DocValuesFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.StoredFieldsFormat storedFieldsFormat();
descriptor: ()Lorg/apache/lucene/codecs/StoredFieldsFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.TermVectorsFormat termVectorsFormat();
descriptor: ()Lorg/apache/lucene/codecs/TermVectorsFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.FieldInfosFormat fieldInfosFormat();
descriptor: ()Lorg/apache/lucene/codecs/FieldInfosFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.SegmentInfoFormat segmentInfoFormat();
descriptor: ()Lorg/apache/lucene/codecs/SegmentInfoFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.NormsFormat normsFormat();
descriptor: ()Lorg/apache/lucene/codecs/NormsFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.LiveDocsFormat liveDocsFormat();
descriptor: ()Lorg/apache/lucene/codecs/LiveDocsFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.CompoundFormat compoundFormat();
descriptor: ()Lorg/apache/lucene/codecs/CompoundFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public abstract org.apache.lucene.codecs.PointsFormat pointsFormat();
descriptor: ()Lorg/apache/lucene/codecs/PointsFormat;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
public static org.apache.lucene.codecs.Codec forName(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/apache/lucene/codecs/Codec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.lucene.codecs.Codec$Holder.getLoader:()Lorg/apache/lucene/util/NamedSPILoader;
aload 0
invokevirtual org.apache.lucene.util.NamedSPILoader.lookup:(Ljava/lang/String;)Lorg/apache/lucene/util/NamedSPILoader$NamedSPI;
checkcast org.apache.lucene.codecs.Codec
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 name Ljava/lang/String;
MethodParameters:
Name Flags
name
public static java.util.Set<java.lang.String> availableCodecs();
descriptor: ()Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.apache.lucene.codecs.Codec$Holder.getLoader:()Lorg/apache/lucene/util/NamedSPILoader;
invokevirtual org.apache.lucene.util.NamedSPILoader.availableServices:()Ljava/util/Set;
areturn
LocalVariableTable:
Start End Slot Name Signature
Signature: ()Ljava/util/Set<Ljava/lang/String;>;
public static void reloadCodecs(java.lang.ClassLoader);
descriptor: (Ljava/lang/ClassLoader;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: invokestatic org.apache.lucene.codecs.Codec$Holder.getLoader:()Lorg/apache/lucene/util/NamedSPILoader;
aload 0
invokevirtual org.apache.lucene.util.NamedSPILoader.reload:(Ljava/lang/ClassLoader;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 classloader Ljava/lang/ClassLoader;
MethodParameters:
Name Flags
classloader
public static org.apache.lucene.codecs.Codec getDefault();
descriptor: ()Lorg/apache/lucene/codecs/Codec;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=0, args_size=0
0: getstatic org.apache.lucene.codecs.Codec$Holder.defaultCodec:Lorg/apache/lucene/codecs/Codec;
ifnonnull 2
1: new java.lang.IllegalStateException
dup
ldc "You tried to lookup the default Codec before all Codecs could be initialized. This likely happens if you try to get it from a Codec's ctor."
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.codecs.Codec$Holder.defaultCodec:Lorg/apache/lucene/codecs/Codec;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static void setDefault(org.apache.lucene.codecs.Codec);
descriptor: (Lorg/apache/lucene/codecs/Codec;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.lucene.codecs.Codec
putstatic org.apache.lucene.codecs.Codec$Holder.defaultCodec:Lorg/apache/lucene/codecs/Codec;
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 codec Lorg/apache/lucene/codecs/Codec;
MethodParameters:
Name Flags
codec
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.codecs.Codec.name:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/codecs/Codec;
}
SourceFile: "Codec.java"
NestMembers:
org.apache.lucene.codecs.Codec$Holder
InnerClasses:
private final Holder = org.apache.lucene.codecs.Codec$Holder of org.apache.lucene.codecs.Codec
public abstract NamedSPI = org.apache.lucene.util.NamedSPILoader$NamedSPI of org.apache.lucene.util.NamedSPILoader