public class org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation 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.JavaProjectSourceLocation
super_class: org.eclipse.core.runtime.PlatformObject
{
private org.eclipse.jdt.core.IJavaProject fProject;
descriptor: Lorg/eclipse/jdt/core/IJavaProject;
flags: (0x0002) ACC_PRIVATE
private org.eclipse.jdt.launching.sourcelookup.IJavaSourceLocation[] fRootLocations;
descriptor: [Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
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.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
public void <init>(org.eclipse.jdt.core.IJavaProject);
descriptor: (Lorg/eclipse/jdt/core/IJavaProject;)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.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
2: aload 0
aload 1
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.setJavaProject:(Lorg/eclipse/jdt/core/IJavaProject;)V
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
0 4 1 project Lorg/eclipse/jdt/core/IJavaProject;
MethodParameters:
Name Flags
project
public java.lang.Object findSourceElement(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
ifnull 8
1: iconst_0
istore 2
start local 2 2: goto 7
3: StackMap locals: int
StackMap stack:
aload 0
getfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
iload 2
aaload
aload 1
invokeinterface org.eclipse.jdt.launching.sourcelookup.IJavaSourceLocation.findSourceElement:(Ljava/lang/String;)Ljava/lang/Object;
astore 3
start local 3 4: aload 3
ifnull 6
5: aload 3
areturn
end local 3 6: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
7: iload 2
aload 0
getfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
arraylength
if_icmplt 3
end local 2 8: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
0 9 1 name Ljava/lang/String;
2 8 2 i I
4 6 3 element Ljava/lang/Object;
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
name
private void setJavaProject(org.eclipse.jdt.core.IJavaProject);
descriptor: (Lorg/eclipse/jdt/core/IJavaProject;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fProject:Lorg/eclipse/jdt/core/IJavaProject;
1: aload 0
aconst_null
putfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
2: aload 0
getfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fProject:Lorg/eclipse/jdt/core/IJavaProject;
ifnull 15
3: aload 1
invokeinterface org.eclipse.jdt.core.IJavaProject.getPackageFragmentRoots:()[Lorg/eclipse/jdt/core/IPackageFragmentRoot;
astore 2
start local 2 4: new java.util.ArrayList
dup
aload 2
arraylength
invokespecial java.util.ArrayList.<init>:(I)V
astore 3
start local 3 5: iconst_0
istore 4
start local 4 6: goto 10
7: StackMap locals: org.eclipse.jdt.core.IPackageFragmentRoot[] java.util.ArrayList int
StackMap stack:
aload 2
iload 4
aaload
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getKind:()I
iconst_1
if_icmpne 9
8: aload 3
new org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation
dup
aload 2
iload 4
aaload
invokespecial org.eclipse.jdt.launching.sourcelookup.PackageFragmentRootSourceLocation.<init>:(Lorg/eclipse/jdt/core/IPackageFragmentRoot;)V
invokevirtual java.util.ArrayList.add:(Ljava/lang/Object;)Z
pop
9: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
10: iload 4
aload 2
arraylength
if_icmplt 7
end local 4 11: aload 0
aload 3
aload 3
invokevirtual java.util.ArrayList.size:()I
anewarray org.eclipse.jdt.launching.sourcelookup.IJavaSourceLocation
invokevirtual java.util.ArrayList.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.jdt.launching.sourcelookup.IJavaSourceLocation[]
putfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fRootLocations:[Lorg/eclipse/jdt/launching/sourcelookup/IJavaSourceLocation;
end local 3 end local 2 12: goto 15
StackMap locals: org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation org.eclipse.jdt.core.IJavaProject
StackMap stack: org.eclipse.jdt.core.JavaModelException
13: astore 2
start local 2 14: aload 2
invokestatic org.eclipse.jdt.internal.launching.LaunchingPlugin.log:(Ljava/lang/Throwable;)V
end local 2 15: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
0 16 1 project Lorg/eclipse/jdt/core/IJavaProject;
4 12 2 roots [Lorg/eclipse/jdt/core/IPackageFragmentRoot;
5 12 3 list Ljava/util/ArrayList<Lorg/eclipse/jdt/launching/sourcelookup/PackageFragmentRootSourceLocation;>;
6 11 4 i I
14 15 2 e Lorg/eclipse/jdt/core/JavaModelException;
Exception table:
from to target type
3 12 13 Class org.eclipse.jdt.core.JavaModelException
MethodParameters:
Name Flags
project
public org.eclipse.jdt.core.IJavaProject getJavaProject();
descriptor: ()Lorg/eclipse/jdt/core/IJavaProject;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.fProject:Lorg/eclipse/jdt/core/IJavaProject;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation
ifeq 3
1: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.getJavaProject:()Lorg/eclipse/jdt/core/IJavaProject;
aload 1
checkcast org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.getJavaProject:()Lorg/eclipse/jdt/core/IJavaProject;
invokevirtual java.lang.Object.equals:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
0 4 1 object Ljava/lang/Object;
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.JavaProjectSourceLocation.getJavaProject:()Lorg/eclipse/jdt/core/IJavaProject;
invokevirtual java.lang.Object.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
public java.lang.String getMemento();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, 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 "javaProjectSourceLocation"
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: aload 2
ldc "name"
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.getJavaProject:()Lorg/eclipse/jdt/core/IJavaProject;
invokeinterface org.eclipse.jdt.core.IJavaProject.getElementName:()Ljava/lang/String;
invokeinterface org.w3c.dom.Element.setAttribute:(Ljava/lang/String;Ljava/lang/String;)V
4: aload 1
invokestatic org.eclipse.debug.core.DebugPlugin.serializeDocument:(Lorg/w3c/dom/Document;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
1 5 1 doc Lorg/w3c/dom/Document;
2 5 2 node Lorg/w3c/dom/Element;
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;
astore 4
start local 4 3: 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
4: new java.io.StringReader
dup
aload 1
invokespecial java.io.StringReader.<init>:(Ljava/lang/String;)V
astore 5
start local 5 5: new org.xml.sax.InputSource
dup
aload 5
invokespecial org.xml.sax.InputSource.<init>:(Ljava/io/Reader;)V
astore 6
start local 6 6: 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
7: aload 3
ldc "name"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 8: aload 0
aload 7
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.isEmpty:(Ljava/lang/String;)Z
ifeq 11
9: aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.JavaProjectSourceLocation_Unable_to_initialize_source_location___missing_project_name_3:Ljava/lang/String;
aconst_null
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
10: goto 13
11: StackMap locals: org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation 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:
invokestatic org.eclipse.core.resources.ResourcesPlugin.getWorkspace:()Lorg/eclipse/core/resources/IWorkspace;
invokeinterface org.eclipse.core.resources.IWorkspace.getRoot:()Lorg/eclipse/core/resources/IWorkspaceRoot;
aload 7
invokeinterface org.eclipse.core.resources.IWorkspaceRoot.getProject:(Ljava/lang/String;)Lorg/eclipse/core/resources/IProject;
astore 8
start local 8 12: aload 0
aload 8
invokestatic org.eclipse.jdt.core.JavaCore.create:(Lorg/eclipse/core/resources/IProject;)Lorg/eclipse/jdt/core/IJavaProject;
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.setJavaProject:(Lorg/eclipse/jdt/core/IJavaProject;)V
end local 8 13: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 14: StackMap locals: org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation java.lang.String java.lang.Exception
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 3
start local 3 15: aload 3
astore 2
end local 3 16: goto 22
17: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 3
start local 3 18: aload 3
astore 2
end local 3 19: goto 22
20: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 21: aload 3
astore 2
end local 3 22: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.JavaProjectSourceLocation_Exception_occurred_initializing_source_location__4:Ljava/lang/String;
aload 2
invokevirtual org.eclipse.jdt.launching.sourcelookup.JavaProjectSourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
23: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
0 24 1 memento Ljava/lang/String;
1 24 2 ex Ljava/lang/Exception;
2 14 3 root Lorg/w3c/dom/Element;
3 14 4 parser Ljavax/xml/parsers/DocumentBuilder;
5 14 5 reader Ljava/io/StringReader;
6 14 6 source Lorg/xml/sax/InputSource;
8 14 7 name Ljava/lang/String;
12 13 8 proj Lorg/eclipse/core/resources/IProject;
15 16 3 e Ljavax/xml/parsers/ParserConfigurationException;
18 19 3 e Lorg/xml/sax/SAXException;
21 22 3 e Ljava/io/IOException;
Exception table:
from to target type
1 13 14 Class javax.xml.parsers.ParserConfigurationException
1 13 17 Class org.xml.sax.SAXException
1 13 20 Class java.io.IOException
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
memento
private boolean isEmpty(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
invokevirtual java.lang.String.length:()I
ifeq 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jdt/launching/sourcelookup/JavaProjectSourceLocation;
0 2 1 string Ljava/lang/String;
MethodParameters:
Name Flags
string
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/JavaProjectSourceLocation;
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
}
SourceFile: "JavaProjectSourceLocation.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()