public class org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation extends org.eclipse.core.runtime.PlatformObject implements org.eclipse.jdt.launching.sourcelookup.IJavaSourceLocation
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation
super_class: org.eclipse.core.runtime.PlatformObject
{
private org.eclipse.jdt.core.IPackageFragmentRoot fRoot;
descriptor: Lorg/eclipse/jdt/core/IPackageFragmentRoot;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.core.runtime.PlatformObject.<init>:()V
1: aload 0
aconst_null
putfield org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.fRoot:Lorg/eclipse/jdt/core/IPackageFragmentRoot;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
public void <init>(org.eclipse.jdt.core.IPackageFragmentRoot);
descriptor: (Lorg/eclipse/jdt/core/IPackageFragmentRoot;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.eclipse.core.runtime.PlatformObject.<init>:()V
1: aload 0
aconst_null
putfield org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.fRoot:Lorg/eclipse/jdt/core/IPackageFragmentRoot;
2: aload 0
aload 1
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.setPackageFragmentRoot:(Lorg/eclipse/jdt/core/IPackageFragmentRoot;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
0 4 1 root Lorg/eclipse/jdt/core/IPackageFragmentRoot;
MethodParameters:
Name Flags
root
public java.lang.Object findSourceElement(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 1
ifnull 25
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
ifnull 25
1: aconst_null
astore 2
start local 2 2: aload 1
bipush 46
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 3: iload 3
iflt 8
4: aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 4
start local 4 5: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
aload 4
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getPackageFragment:(Ljava/lang/String;)Lorg/eclipse/jdt/core/IPackageFragment;
astore 2
6: aload 1
iload 3
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 1
end local 4 7: goto 9
8: StackMap locals: org.eclipse.jdt.core.IPackageFragment int
StackMap stack:
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
ldc ""
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getPackageFragment:(Ljava/lang/String;)Lorg/eclipse/jdt/core/IPackageFragment;
astore 2
9: StackMap locals:
StackMap stack:
aload 2
invokeinterface org.eclipse.jdt.core.IPackageFragment.exists:()Z
ifeq 25
10: iconst_0
istore 4
start local 4 11: aload 1
astore 5
start local 5 12: StackMap locals: int java.lang.String
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".java"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.eclipse.jdt.core.IPackageFragment.getCompilationUnit:(Ljava/lang/String;)Lorg/eclipse/jdt/core/ICompilationUnit;
astore 6
start local 6 13: aload 6
invokeinterface org.eclipse.jdt.core.ICompilationUnit.exists:()Z
ifeq 15
14: aload 6
areturn
15: StackMap locals: org.eclipse.jdt.core.ICompilationUnit
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc ".class"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.eclipse.jdt.core.IPackageFragment.getClassFile:(Ljava/lang/String;)Lorg/eclipse/jdt/core/IClassFile;
astore 7
start local 7 16: aload 7
invokeinterface org.eclipse.jdt.core.IClassFile.exists:()Z
ifeq 18
17: aload 7
areturn
18: StackMap locals: org.eclipse.jdt.core.IClassFile
StackMap stack:
aload 5
bipush 36
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
19: iload 3
iflt 23
20: aload 5
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
21: iconst_1
istore 4
22: goto 24
23: StackMap locals:
StackMap stack:
iconst_0
istore 4
end local 7 end local 6 24: StackMap locals:
StackMap stack:
iload 4
ifne 12
end local 5 end local 4 end local 3 end local 2 25: StackMap locals: org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation java.lang.String
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 26 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
0 26 1 name Ljava/lang/String;
2 25 2 pkg Lorg/eclipse/jdt/core/IPackageFragment;
3 25 3 index I
5 7 4 fragment Ljava/lang/String;
11 25 4 possibleInnerType Z
12 25 5 typeName Ljava/lang/String;
13 24 6 cu Lorg/eclipse/jdt/core/ICompilationUnit;
16 24 7 cf Lorg/eclipse/jdt/core/IClassFile;
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
name
public java.lang.String getMemento();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=1
start local 0 0: invokestatic org.eclipse.debug.core.DebugPlugin.newDocument:()Lorg/w3c/dom/Document;
astore 1
start local 1 1: aload 1
ldc "javaPackageFragmentRootSourceLocation"
invokeinterface org.w3c.dom.Document.createElement:(Ljava/lang/String;)Lorg/w3c/dom/Element;
astore 2
start local 2 2: aload 1
aload 2
invokeinterface org.w3c.dom.Document.appendChild:(Lorg/w3c/dom/Node;)Lorg/w3c/dom/Node;
pop
3: ldc ""
astore 3
start local 3 4: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
ifnull 6
5: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getHandleIdentifier:()Ljava/lang/String;
astore 3
6: StackMap locals: org.w3c.dom.Document org.w3c.dom.Element java.lang.String
StackMap stack:
aload 2
ldc "handleId"
aload 3
invokeinterface org.w3c.dom.Element.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
7: aload 1
invokestatic org.eclipse.debug.core.DebugPlugin.serializeDocument:(Lorg/w3c/dom/Document;)Ljava/lang/String;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
1 8 1 doc Lorg/w3c/dom/Document;
2 8 2 node Lorg/w3c/dom/Element;
4 8 3 handle Ljava/lang/String;
Exceptions:
throws org.eclipse.core.runtime.CoreException
public void initializeFrom(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=9, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aconst_null
astore 3
start local 3 2: invokestatic javax.xml.parsers.DocumentBuilderFactory.newInstance:()Ljavax/xml/parsers/DocumentBuilderFactory;
invokevirtual javax.xml.parsers.DocumentBuilderFactory.newDocumentBuilder:()Ljavax/xml/parsers/DocumentBuilder;
3: astore 4
start local 4 4: aload 4
new org.xml.sax.helpers.DefaultHandler
dup
invokespecial org.xml.sax.helpers.DefaultHandler.<init>:()V
invokevirtual javax.xml.parsers.DocumentBuilder.setErrorHandler:(Lorg/xml/sax/ErrorHandler;)V
5: new java.io.StringReader
dup
aload 1
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
astore 5
start local 5 6: new org.xml.sax.InputSource
dup
aload 5
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 7: aload 4
aload 6
invokevirtual javax.xml.parsers.DocumentBuilder.parse:(Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;
invokeinterface org.w3c.dom.Document.getDocumentElement:()Lorg/w3c/dom/Element;
astore 3
8: aload 3
ldc "handleId"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 9: aload 7
ifnonnull 12
10: aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.PackageFragmentRootSourceLocation_Unable_to_initialize_source_location___missing_handle_identifier_for_package_fragment_root__6:Ljava/lang/String;
aconst_null
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: goto 20
12: StackMap locals: org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation java.lang.String java.lang.Exception org.w3c.dom.Element javax.xml.parsers.DocumentBuilder java.io.StringReader org.xml.sax.InputSource java.lang.String
StackMap stack:
aload 7
invokevirtual java.lang.String.length:()I
ifne 15
13: aload 0
aconst_null
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.setPackageFragmentRoot:(Lorg/eclipse/jdt/core/IPackageFragmentRoot;)V
14: goto 20
15: StackMap locals:
StackMap stack:
aload 7
invokestatic org.eclipse.jdt.core.JavaCore.create:(Ljava/lang/String;)Lorg/eclipse/jdt/core/IJavaElement;
astore 8
start local 8 16: aload 8
instanceof org.eclipse.jdt.core.IPackageFragmentRoot
ifeq 19
17: aload 0
aload 8
checkcast org.eclipse.jdt.core.IPackageFragmentRoot
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.setPackageFragmentRoot:(Lorg/eclipse/jdt/core/IPackageFragmentRoot;)V
18: goto 20
19: StackMap locals: org.eclipse.jdt.core.IJavaElement
StackMap stack:
aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.PackageFragmentRootSourceLocation_Unable_to_initialize_source_location___package_fragment_root_does_not_exist__7:Ljava/lang/String;
aconst_null
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 8 20: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 21: StackMap locals: org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation java.lang.String java.lang.Exception
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 3
start local 3 22: aload 3
astore 2
end local 3 23: goto 29
24: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 3
start local 3 25: aload 3
astore 2
end local 3 26: goto 29
27: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 28: aload 3
astore 2
end local 3 29: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.PackageFragmentRootSourceLocation_Exception_occurred_initializing_source_location__8:Ljava/lang/String;
aload 2
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
30: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 31 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
0 31 1 memento Ljava/lang/String;
1 31 2 ex Ljava/lang/Exception;
2 21 3 root Lorg/w3c/dom/Element;
4 21 4 parser Ljavax/xml/parsers/DocumentBuilder;
6 21 5 reader Ljava/io/StringReader;
7 21 6 source Lorg/xml/sax/InputSource;
9 21 7 handle Ljava/lang/String;
16 20 8 element Lorg/eclipse/jdt/core/IJavaElement;
22 23 3 e Ljavax/xml/parsers/ParserConfigurationException;
25 26 3 e Lorg/xml/sax/SAXException;
28 29 3 e Ljava/io/IOException;
Exception table:
from to target type
1 20 21 Class javax.xml.parsers.ParserConfigurationException
1 20 24 Class org.xml.sax.SAXException
1 20 27 Class java.io.IOException
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
memento
public org.eclipse.jdt.core.IPackageFragmentRoot getPackageFragmentRoot();
descriptor: ()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.fRoot:Lorg/eclipse/jdt/core/IPackageFragmentRoot;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
private void setPackageFragmentRoot(org.eclipse.jdt.core.IPackageFragmentRoot);
descriptor: (Lorg/eclipse/jdt/core/IPackageFragmentRoot;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.fRoot:Lorg/eclipse/jdt/core/IPackageFragmentRoot;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
0 2 1 root Lorg/eclipse/jdt/core/IPackageFragmentRoot;
MethodParameters:
Name Flags
root
private void abort(java.lang.String, java.lang.Throwable);
descriptor: (Ljava/lang/String;Ljava/lang/Throwable;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=3
start local 0 start local 1 start local 2 0: new org.eclipse.core.runtime.Status
dup
iconst_4
invokestatic org.eclipse.jdt.internal.launching.LaunchingPlugin.getUniqueIdentifier:()Ljava/lang/String;
sipush 150
aload 1
aload 2
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
astore 3
start local 3 1: new org.eclipse.core.runtime.CoreException
dup
aload 3
invokespecial org.eclipse.core.runtime.CoreException.<init>:(Lorg/eclipse/core/runtime/IStatus;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
0 2 1 message Ljava/lang/String;
0 2 2 e Ljava/lang/Throwable;
1 2 3 s Lorg/eclipse/core/runtime/IStatus;
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
message
e
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation
ifeq 6
1: aload 1
checkcast org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation
astore 2
start local 2 2: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
ifnonnull 5
3: aload 2
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
ifnonnull 4
iconst_1
ireturn
StackMap locals: org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation
StackMap stack:
4: iconst_0
ireturn
5: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
aload 2
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 6: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
0 7 1 object Ljava/lang/Object;
2 6 2 root Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
MethodParameters:
Name Flags
object
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
ifnonnull 2
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Object.hashCode:()I
ireturn
2: StackMap locals:
StackMap stack:
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.getPackageFragmentRoot:()Lorg/eclipse/jdt/core/IPackageFragmentRoot;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;
}
SourceFile: "PackageFragmentRootSourceLocation.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()