public class org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation 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.DirectorySourceLocation
super_class: org.eclipse.core.runtime.PlatformObject
{
private java.io.File fDirectory;
descriptor: Ljava/io/File;
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial org.eclipse.core.runtime.PlatformObject.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
public void <init>(java.io.File);
descriptor: (Ljava/io/File;)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
aload 1
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.setDirectory:(Ljava/io/File;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
0 3 1 directory Ljava/io/File;
MethodParameters:
Name Flags
directory
public java.lang.Object findSourceElement(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Object;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=10, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.getDirectory:()Ljava/io/File;
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 1
bipush 46
bipush 47
invokevirtual java.lang.String.replace:(CC)Ljava/lang/String;
astore 2
start local 2 3: aload 2
bipush 47
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 3
start local 3 4: new org.eclipse.core.runtime.Path
dup
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.getDirectory:()Ljava/io/File;
invokevirtual java.io.File.getCanonicalPath:()Ljava/lang/String;
invokespecial org.eclipse.core.runtime.Path.<init>:(Ljava/lang/String;)V
astore 4
start local 4 5: iconst_0
istore 5
start local 5 6: aload 2
astore 6
start local 6 7: StackMap locals: org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation java.lang.String java.lang.String int org.eclipse.core.runtime.IPath int java.lang.String
StackMap stack:
aload 4
new org.eclipse.core.runtime.Path
dup
new java.lang.StringBuilder
dup
aload 6
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;
invokespecial org.eclipse.core.runtime.Path.<init>:(Ljava/lang/String;)V
invokeinterface org.eclipse.core.runtime.IPath.append:(Lorg/eclipse/core/runtime/IPath;)Lorg/eclipse/core/runtime/IPath;
astore 7
start local 7 8: aload 7
invokeinterface org.eclipse.core.runtime.IPath.toFile:()Ljava/io/File;
astore 8
start local 8 9: aload 8
invokevirtual java.io.File.exists:()Z
ifeq 12
10: new org.eclipse.jdt.launching.sourcelookup.LocalFileStorage
dup
aload 8
invokespecial org.eclipse.jdt.launching.sourcelookup.LocalFileStorage.<init>:(Ljava/io/File;)V
11: areturn
12: StackMap locals: org.eclipse.core.runtime.IPath java.io.File
StackMap stack:
aload 6
bipush 36
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 9
start local 9 13: iload 9
iload 3
if_icmple 17
14: aload 6
iconst_0
iload 9
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
15: iconst_1
istore 5
16: goto 18
17: StackMap locals: int
StackMap stack:
iconst_0
istore 5
end local 9 end local 8 end local 7 18: StackMap locals:
StackMap stack:
iload 5
ifne 7
end local 6 end local 5 end local 4 19: goto 22
StackMap locals: org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation java.lang.String java.lang.String int
StackMap stack: java.io.IOException
20: astore 4
start local 4 21: new org.eclipse.core.runtime.CoreException
dup
new org.eclipse.core.runtime.Status
dup
iconst_4
invokestatic org.eclipse.jdt.internal.launching.LaunchingPlugin.getUniqueIdentifier:()Ljava/lang/String;
aload 4
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
aload 4
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
invokespecial org.eclipse.core.runtime.CoreException.<init>:(Lorg/eclipse/core/runtime/IStatus;)V
athrow
end local 4 22: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 23 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
0 23 1 name Ljava/lang/String;
3 23 2 pathStr Ljava/lang/String;
4 23 3 lastSlash I
5 19 4 root Lorg/eclipse/core/runtime/IPath;
6 19 5 possibleInnerType Z
7 19 6 typeName Ljava/lang/String;
8 18 7 filePath Lorg/eclipse/core/runtime/IPath;
9 18 8 file Ljava/io/File;
13 18 9 index I
21 22 4 e Ljava/io/IOException;
Exception table:
from to target type
4 11 20 Class java.io.IOException
12 19 20 Class java.io.IOException
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
name
private void setDirectory(java.io.File);
descriptor: (Ljava/io/File;)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.DirectorySourceLocation.fDirectory:Ljava/io/File;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
0 2 1 directory Ljava/io/File;
MethodParameters:
Name Flags
directory
public java.io.File getDirectory();
descriptor: ()Ljava/io/File;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.fDirectory:Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
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.DirectorySourceLocation
ifeq 3
1: aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.getDirectory:()Ljava/io/File;
aload 1
checkcast org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.getDirectory:()Ljava/io/File;
invokevirtual java.io.File.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/DirectorySourceLocation;
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.DirectorySourceLocation.getDirectory:()Ljava/io/File;
invokevirtual java.io.File.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
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 "directorySourceLocation"
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 "path"
aload 0
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.getDirectory:()Ljava/io/File;
invokevirtual java.io.File.getAbsolutePath:()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/DirectorySourceLocation;
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=6, 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 "path"
invokeinterface org.w3c.dom.Element.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 7
start local 7 9: aload 0
aload 7
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.isEmpty:(Ljava/lang/String;)Z
ifeq 12
10: aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.DirectorySourceLocation_Unable_to_initialize_source_location___missing_directory_path_3:Ljava/lang/String;
aconst_null
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
11: goto 17
12: StackMap locals: org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation 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:
new java.io.File
dup
aload 7
invokespecial java.io.File.<init>:(Ljava/lang/String;)V
astore 8
start local 8 13: aload 8
invokevirtual java.io.File.exists:()Z
ifeq 16
aload 8
invokevirtual java.io.File.isDirectory:()Z
ifeq 16
14: aload 0
aload 8
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.setDirectory:(Ljava/io/File;)V
15: goto 17
16: StackMap locals: java.io.File
StackMap stack:
aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.DirectorySourceLocation_Unable_to_initialize_source_location___directory_does_not_exist___0__4:Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
aload 7
aastore
invokestatic org.eclipse.osgi.util.NLS.bind:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
aconst_null
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
end local 8 17: StackMap locals:
StackMap stack:
return
end local 7 end local 6 end local 5 end local 4 end local 3 18: StackMap locals: org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation java.lang.String java.lang.Exception
StackMap stack: javax.xml.parsers.ParserConfigurationException
astore 3
start local 3 19: aload 3
astore 2
end local 3 20: goto 26
21: StackMap locals:
StackMap stack: org.xml.sax.SAXException
astore 3
start local 3 22: aload 3
astore 2
end local 3 23: goto 26
24: StackMap locals:
StackMap stack: java.io.IOException
astore 3
start local 3 25: aload 3
astore 2
end local 3 26: StackMap locals:
StackMap stack:
aload 0
getstatic org.eclipse.jdt.internal.launching.LaunchingMessages.DirectorySourceLocation_Exception_occurred_initializing_source_location__5:Ljava/lang/String;
aload 2
invokevirtual org.eclipse.jdt.launching.sourcelookup.DirectorySourceLocation.abort:(Ljava/lang/String;Ljava/lang/Throwable;)V
27: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/eclipse/jdt/launching/sourcelookup/DirectorySourceLocation;
0 28 1 memento Ljava/lang/String;
1 28 2 ex Ljava/lang/Exception;
2 18 3 root Lorg/w3c/dom/Element;
4 18 4 parser Ljavax/xml/parsers/DocumentBuilder;
6 18 5 reader Ljava/io/StringReader;
7 18 6 source Lorg/xml/sax/InputSource;
9 18 7 path Ljava/lang/String;
13 17 8 dir Ljava/io/File;
19 20 3 e Ljavax/xml/parsers/ParserConfigurationException;
22 23 3 e Lorg/xml/sax/SAXException;
25 26 3 e Ljava/io/IOException;
Exception table:
from to target type
1 17 18 Class javax.xml.parsers.ParserConfigurationException
1 17 21 Class org.xml.sax.SAXException
1 17 24 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/DirectorySourceLocation;
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/DirectorySourceLocation;
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: "DirectorySourceLocation.java"
RuntimeVisibleAnnotations:
java.lang.Deprecated()