public class org.eclipse.core.internal.variables.DynamicVariable extends org.eclipse.core.internal.variables.StringVariable implements org.eclipse.core.variables.IDynamicVariable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.core.internal.variables.DynamicVariable
super_class: org.eclipse.core.internal.variables.StringVariable
{
private org.eclipse.core.variables.IDynamicVariableResolver fResolver;
descriptor: Lorg/eclipse/core/variables/IDynamicVariableResolver;
flags: (0x0002) ACC_PRIVATE
public java.lang.String getValue(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=12, locals=4, args_size=2
start local 0 // org.eclipse.core.internal.variables.DynamicVariable this
start local 1 // java.lang.String argument
0: .line 37
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.supportsArgument:()Z
ifne 3
1: .line 39
aload 1 /* argument */
ifnull 3
aload 1 /* argument */
invokevirtual java.lang.String.length:()I
ifle 3
2: .line 40
new org.eclipse.core.runtime.CoreException
dup
new org.eclipse.core.runtime.Status
dup
iconst_4
invokestatic org.eclipse.core.variables.VariablesPlugin.getUniqueIdentifier:()Ljava/lang/String;
bipush 120
getstatic org.eclipse.core.internal.variables.VariablesMessages.DynamicVariable_0:Ljava/lang/String;
iconst_2
anewarray java.lang.String
dup
iconst_0
aload 1 /* argument */
aastore
dup
iconst_1
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getName:()Ljava/lang/String;
aastore
invokestatic org.eclipse.osgi.util.NLS.bind:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
invokespecial org.eclipse.core.runtime.CoreException.<init>:(Lorg/eclipse/core/runtime/IStatus;)V
athrow
3: .line 43
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.core.internal.variables.DynamicVariable.fResolver:Lorg/eclipse/core/variables/IDynamicVariableResolver;
ifnonnull 12
4: .line 44
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getConfigurationElement:()Lorg/eclipse/core/runtime/IConfigurationElement;
ldc "resolver"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 2 /* name */
start local 2 // java.lang.String name
5: .line 45
aload 2 /* name */
ifnonnull 7
6: .line 46
new org.eclipse.core.runtime.CoreException
dup
new org.eclipse.core.runtime.Status
dup
iconst_4
invokestatic org.eclipse.core.variables.VariablesPlugin.getUniqueIdentifier:()Ljava/lang/String;
bipush 120
ldc "Contributed context variable {0} must specify a resolver."
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getName:()Ljava/lang/String;
aastore
invokestatic org.eclipse.osgi.util.NLS.bind:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
invokespecial org.eclipse.core.runtime.CoreException.<init>:(Lorg/eclipse/core/runtime/IStatus;)V
athrow
7: .line 48
StackMap locals: java.lang.String
StackMap stack:
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getConfigurationElement:()Lorg/eclipse/core/runtime/IConfigurationElement;
ldc "resolver"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.createExecutableExtension:(Ljava/lang/String;)Ljava/lang/Object;
astore 3 /* object */
start local 3 // java.lang.Object object
8: .line 49
aload 3 /* object */
instanceof org.eclipse.core.variables.IDynamicVariableResolver
ifeq 11
9: .line 50
aload 0 /* this */
aload 3 /* object */
checkcast org.eclipse.core.variables.IDynamicVariableResolver
putfield org.eclipse.core.internal.variables.DynamicVariable.fResolver:Lorg/eclipse/core/variables/IDynamicVariableResolver;
10: .line 51
goto 12
11: .line 52
StackMap locals: java.lang.Object
StackMap stack:
new org.eclipse.core.runtime.CoreException
dup
new org.eclipse.core.runtime.Status
dup
iconst_4
invokestatic org.eclipse.core.variables.VariablesPlugin.getUniqueIdentifier:()Ljava/lang/String;
bipush 120
ldc "Contributed context variable resolver for {0} must be an instance of IContextVariableResolver."
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getName:()Ljava/lang/String;
aastore
invokestatic org.eclipse.osgi.util.NLS.bind:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
invokespecial org.eclipse.core.runtime.CoreException.<init>:(Lorg/eclipse/core/runtime/IStatus;)V
athrow
end local 3 // java.lang.Object object
end local 2 // java.lang.String name
12: .line 56
StackMap locals:
StackMap stack:
aload 0 /* this */
getfield org.eclipse.core.internal.variables.DynamicVariable.fResolver:Lorg/eclipse/core/variables/IDynamicVariableResolver;
aload 0 /* this */
aload 1 /* argument */
invokeinterface org.eclipse.core.variables.IDynamicVariableResolver.resolveValue:(Lorg/eclipse/core/variables/IDynamicVariable;Ljava/lang/String;)Ljava/lang/String;
13: areturn
14: .line 57
StackMap locals:
StackMap stack: java.lang.RuntimeException
astore 2 /* e */
start local 2 // java.lang.RuntimeException e
15: .line 58
new org.eclipse.core.runtime.CoreException
dup
new org.eclipse.core.runtime.Status
dup
iconst_4
invokestatic org.eclipse.core.variables.VariablesPlugin.getUniqueIdentifier:()Ljava/lang/String;
bipush 120
ldc "Error while evaluating variable {0}."
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getName:()Ljava/lang/String;
aastore
invokestatic org.eclipse.osgi.util.NLS.bind:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aload 2 /* e */
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
invokespecial org.eclipse.core.runtime.CoreException.<init>:(Lorg/eclipse/core/runtime/IStatus;)V
athrow
end local 2 // java.lang.RuntimeException e
end local 1 // java.lang.String argument
end local 0 // org.eclipse.core.internal.variables.DynamicVariable this
LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/core/internal/variables/DynamicVariable;
0 16 1 argument Ljava/lang/String;
5 12 2 name Ljava/lang/String;
8 12 3 object Ljava/lang/Object;
15 16 2 e Ljava/lang/RuntimeException;
Exception table:
from to target type
12 13 14 Class java.lang.RuntimeException
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
argument
public void <init>(java.lang.String, java.lang.String, org.eclipse.core.runtime.IConfigurationElement);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/core/runtime/IConfigurationElement;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 // org.eclipse.core.internal.variables.DynamicVariable this
start local 1 // java.lang.String name
start local 2 // java.lang.String description
start local 3 // org.eclipse.core.runtime.IConfigurationElement configurationElement
0: .line 70
aload 0 /* this */
aload 1 /* name */
aload 2 /* description */
aload 3 /* configurationElement */
invokespecial org.eclipse.core.internal.variables.StringVariable.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/eclipse/core/runtime/IConfigurationElement;)V
1: .line 71
return
end local 3 // org.eclipse.core.runtime.IConfigurationElement configurationElement
end local 2 // java.lang.String description
end local 1 // java.lang.String name
end local 0 // org.eclipse.core.internal.variables.DynamicVariable this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/core/internal/variables/DynamicVariable;
0 2 1 name Ljava/lang/String;
0 2 2 description Ljava/lang/String;
0 2 3 configurationElement Lorg/eclipse/core/runtime/IConfigurationElement;
MethodParameters:
Name Flags
name
description
configurationElement
public boolean supportsArgument();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 // org.eclipse.core.internal.variables.DynamicVariable this
0: .line 75
aload 0 /* this */
invokevirtual org.eclipse.core.internal.variables.DynamicVariable.getConfigurationElement:()Lorg/eclipse/core/runtime/IConfigurationElement;
ldc "supportsArgument"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 1 /* arg */
start local 1 // java.lang.String arg
1: .line 76
aload 1 /* arg */
ifnull 2
aload 1 /* arg */
invokestatic java.lang.Boolean.valueOf:(Ljava/lang/String;)Ljava/lang/Boolean;
invokevirtual java.lang.Boolean.booleanValue:()Z
ifne 2
iconst_0
ireturn
StackMap locals: java.lang.String
StackMap stack:
2: iconst_1
ireturn
end local 1 // java.lang.String arg
end local 0 // org.eclipse.core.internal.variables.DynamicVariable this
LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/core/internal/variables/DynamicVariable;
1 3 1 arg Ljava/lang/String;
}
SourceFile: "DynamicVariable.java"