public final class org.apache.cassandra.cql3.CQLFragmentParser
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.cassandra.cql3.CQLFragmentParser
super_class: java.lang.Object
{
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/cql3/CQLFragmentParser;
public static <R> R parseAny(org.apache.cassandra.cql3.CQLFragmentParser$CQLParserFunction<R>, java.lang.String, java.lang.String);
descriptor: (Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
invokestatic org.apache.cassandra.cql3.CQLFragmentParser.parseAnyUnhandled:(Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction;Ljava/lang/String;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 3
start local 3 3: new org.apache.cassandra.exceptions.SyntaxException
dup
ldc "Failed parsing %s: [%s] reason: %s %s"
iconst_4
anewarray java.lang.Object
dup
iconst_0
4: aload 2
aastore
dup
iconst_1
5: aload 1
aastore
dup
iconst_2
6: aload 3
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
aastore
dup
iconst_3
7: aload 3
invokevirtual java.lang.RuntimeException.getMessage:()Ljava/lang/String;
aastore
8: invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 3 9: StackMap locals:
StackMap stack: org.antlr.runtime.RecognitionException
astore 3
start local 3 10: new org.apache.cassandra.exceptions.SyntaxException
dup
new java.lang.StringBuilder
dup
ldc "Invalid or malformed "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual org.antlr.runtime.RecognitionException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.SyntaxException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 parserFunction Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction<TR;>;
0 11 1 input Ljava/lang/String;
0 11 2 meaning Ljava/lang/String;
3 9 3 re Ljava/lang/RuntimeException;
10 11 3 e Lorg/antlr/runtime/RecognitionException;
Exception table:
from to target type
0 1 2 Class java.lang.RuntimeException
0 1 9 Class org.antlr.runtime.RecognitionException
Signature: <R:Ljava/lang/Object;>(Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction<TR;>;Ljava/lang/String;Ljava/lang/String;)TR;
MethodParameters:
Name Flags
parserFunction
input
meaning
public static <R> R parseAnyUnhandled(org.apache.cassandra.cql3.CQLFragmentParser$CQLParserFunction<R>, java.lang.String);
descriptor: (Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction;Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=8, args_size=2
start local 0 start local 1 0: new org.apache.cassandra.cql3.ErrorCollector
dup
aload 1
invokespecial org.apache.cassandra.cql3.ErrorCollector.<init>:(Ljava/lang/String;)V
astore 2
start local 2 1: new org.antlr.runtime.ANTLRStringStream
dup
aload 1
invokespecial org.antlr.runtime.ANTLRStringStream.<init>:(Ljava/lang/String;)V
astore 3
start local 3 2: new org.apache.cassandra.cql3.CqlLexer
dup
aload 3
invokespecial org.apache.cassandra.cql3.CqlLexer.<init>:(Lorg/antlr/runtime/CharStream;)V
astore 4
start local 4 3: aload 4
aload 2
invokevirtual org.apache.cassandra.cql3.CqlLexer.addErrorListener:(Lorg/apache/cassandra/cql3/ErrorListener;)V
4: new org.antlr.runtime.CommonTokenStream
dup
aload 4
invokespecial org.antlr.runtime.CommonTokenStream.<init>:(Lorg/antlr/runtime/TokenSource;)V
astore 5
start local 5 5: new org.apache.cassandra.cql3.CqlParser
dup
aload 5
invokespecial org.apache.cassandra.cql3.CqlParser.<init>:(Lorg/antlr/runtime/TokenStream;)V
astore 6
start local 6 6: aload 6
aload 2
invokevirtual org.apache.cassandra.cql3.CqlParser.addErrorListener:(Lorg/apache/cassandra/cql3/ErrorListener;)V
7: aload 0
aload 6
invokeinterface org.apache.cassandra.cql3.CQLFragmentParser$CQLParserFunction.parse:(Lorg/apache/cassandra/cql3/CqlParser;)Ljava/lang/Object;
astore 7
start local 7 8: aload 2
invokevirtual org.apache.cassandra.cql3.ErrorCollector.throwFirstSyntaxError:()V
9: aload 7
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 parserFunction Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction<TR;>;
0 10 1 input Ljava/lang/String;
1 10 2 errorCollector Lorg/apache/cassandra/cql3/ErrorCollector;
2 10 3 stream Lorg/antlr/runtime/CharStream;
3 10 4 lexer Lorg/apache/cassandra/cql3/CqlLexer;
5 10 5 tokenStream Lorg/antlr/runtime/TokenStream;
6 10 6 parser Lorg/apache/cassandra/cql3/CqlParser;
8 10 7 r TR;
Exceptions:
throws org.antlr.runtime.RecognitionException
Signature: <R:Ljava/lang/Object;>(Lorg/apache/cassandra/cql3/CQLFragmentParser$CQLParserFunction<TR;>;Ljava/lang/String;)TR;
MethodParameters:
Name Flags
parserFunction
input
}
SourceFile: "CQLFragmentParser.java"
NestMembers:
org.apache.cassandra.cql3.CQLFragmentParser$CQLParserFunction
InnerClasses:
public abstract CQLParserFunction = org.apache.cassandra.cql3.CQLFragmentParser$CQLParserFunction of org.apache.cassandra.cql3.CQLFragmentParser