final class com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall extends com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall
super_class: com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall
{
public void <init>(com.sun.org.apache.xalan.internal.xsltc.compiler.QName, java.util.List<com.sun.org.apache.xalan.internal.xsltc.compiler.Expression>);
descriptor: (Lcom/sun/org/apache/xalan/internal/xsltc/compiler/QName;Ljava/util/List;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokespecial com.sun.org.apache.xalan.internal.xsltc.compiler.FunctionCall.<init>:(Lcom/sun/org/apache/xalan/internal/xsltc/compiler/QName;Ljava/util/List;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/org/apache/xalan/internal/xsltc/compiler/ElementAvailableCall;
0 2 1 fname Lcom/sun/org/apache/xalan/internal/xsltc/compiler/QName;
0 2 2 arguments Ljava/util/List<Lcom/sun/org/apache/xalan/internal/xsltc/compiler/Expression;>;
Signature: (Lcom/sun/org/apache/xalan/internal/xsltc/compiler/QName;Ljava/util/List<Lcom/sun/org/apache/xalan/internal/xsltc/compiler/Expression;>;)V
MethodParameters:
Name Flags
fname
arguments
public com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type typeCheck(com.sun.org.apache.xalan.internal.xsltc.compiler.SymbolTable);
descriptor: (Lcom/sun/org/apache/xalan/internal/xsltc/compiler/SymbolTable;)Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/Type;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall.argument:()Lcom/sun/org/apache/xalan/internal/xsltc/compiler/Expression;
instanceof com.sun.org.apache.xalan.internal.xsltc.compiler.LiteralExpr
ifeq 2
1: aload 0
getstatic com.sun.org.apache.xalan.internal.xsltc.compiler.util.Type.Boolean:Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/Type;
dup_x1
putfield com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall._type:Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/Type;
areturn
2: StackMap locals:
StackMap stack:
new com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg
dup
ldc "NEED_LITERAL_ERR"
3: ldc "element-available"
aload 0
4: invokespecial com.sun.org.apache.xalan.internal.xsltc.compiler.util.ErrorMsg.<init>:(Ljava/lang/String;Ljava/lang/Object;Lcom/sun/org/apache/xalan/internal/xsltc/compiler/SyntaxTreeNode;)V
astore 2
start local 2 5: new com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError
dup
aload 2
invokespecial com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError.<init>:(Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/org/apache/xalan/internal/xsltc/compiler/ElementAvailableCall;
0 6 1 stable Lcom/sun/org/apache/xalan/internal/xsltc/compiler/SymbolTable;
5 6 2 err Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/ErrorMsg;
Exceptions:
throws com.sun.org.apache.xalan.internal.xsltc.compiler.util.TypeCheckError
MethodParameters:
Name Flags
stable
public java.lang.Object evaluateAtCompileTime();
descriptor: ()Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall.getResult:()Z
ifeq 1
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
goto 2
StackMap locals:
StackMap stack:
1: getstatic java.lang.Boolean.FALSE:Ljava/lang/Boolean;
StackMap locals:
StackMap stack: java.lang.Boolean
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/org/apache/xalan/internal/xsltc/compiler/ElementAvailableCall;
public boolean getResult();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall.argument:()Lcom/sun/org/apache/xalan/internal/xsltc/compiler/Expression;
checkcast com.sun.org.apache.xalan.internal.xsltc.compiler.LiteralExpr
astore 1
start local 1 1: aload 1
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.LiteralExpr.getValue:()Ljava/lang/String;
astore 2
start local 2 2: aload 2
bipush 58
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 3: iload 3
ifle 5
4: aload 2
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
goto 6
StackMap locals: com.sun.org.apache.xalan.internal.xsltc.compiler.LiteralExpr java.lang.String int
StackMap stack:
5: aload 2
6: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 7: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall.getParser:()Lcom/sun/org/apache/xalan/internal/xsltc/compiler/Parser;
aload 1
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.LiteralExpr.getNamespace:()Ljava/lang/String;
8: aload 4
9: invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.elementSupported:(Ljava/lang/String;Ljava/lang/String;)Z
10: ireturn
end local 4 end local 3 end local 2 end local 1 11: StackMap locals: com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall
StackMap stack: java.lang.ClassCastException
pop
12: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lcom/sun/org/apache/xalan/internal/xsltc/compiler/ElementAvailableCall;
1 11 1 arg Lcom/sun/org/apache/xalan/internal/xsltc/compiler/LiteralExpr;
2 11 2 qname Ljava/lang/String;
3 11 3 index I
7 11 4 localName Ljava/lang/String;
Exception table:
from to target type
0 10 11 Class java.lang.ClassCastException
public void translate(com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator, com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator);
descriptor: (Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/ClassGenerator;Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/MethodGenerator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator.getConstantPool:()Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
astore 3
start local 3 1: aload 0
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.ElementAvailableCall.getResult:()Z
istore 4
start local 4 2: aload 2
invokevirtual com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.getInstructionList:()Lcom/sun/org/apache/bcel/internal/generic/InstructionList;
new com.sun.org.apache.bcel.internal.generic.PUSH
dup
aload 3
iload 4
invokespecial com.sun.org.apache.bcel.internal.generic.PUSH.<init>:(Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;Z)V
invokevirtual com.sun.org.apache.bcel.internal.generic.InstructionList.append:(Lcom/sun/org/apache/bcel/internal/generic/CompoundInstruction;)Lcom/sun/org/apache/bcel/internal/generic/InstructionHandle;
pop
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/org/apache/xalan/internal/xsltc/compiler/ElementAvailableCall;
0 4 1 classGen Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/ClassGenerator;
0 4 2 methodGen Lcom/sun/org/apache/xalan/internal/xsltc/compiler/util/MethodGenerator;
1 4 3 cpg Lcom/sun/org/apache/bcel/internal/generic/ConstantPoolGen;
2 4 4 result Z
MethodParameters:
Name Flags
classGen
methodGen
}
SourceFile: "ElementAvailableCall.java"