public class org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookup
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookup
super_class: java.lang.Object
{
private static final org.eclipse.core.resources.IWorkspaceRoot root;
descriptor: Lorg/eclipse/core/resources/IWorkspaceRoot;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.eclipse.core.resources.ResourcesPlugin.getWorkspace:()Lorg/eclipse/core/resources/IWorkspace;
invokeinterface org.eclipse.core.resources.IWorkspace.getRoot:()Lorg/eclipse/core/resources/IWorkspaceRoot;
putstatic org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookup.root:Lorg/eclipse/core/resources/IWorkspaceRoot;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/launching/sourcelookup/advanced/AdvancedSourceLookup;
public static boolean isSourceProject(org.eclipse.jdt.core.IJavaProject);
descriptor: (Lorg/eclipse/jdt/core/IJavaProject;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=1
start local 0 0: aload 0
invokeinterface org.eclipse.jdt.core.IJavaProject.getPackageFragmentRoots:()[Lorg/eclipse/jdt/core/IPackageFragmentRoot;
dup
astore 4
arraylength
istore 3
iconst_0
istore 2
goto 5
StackMap locals: org.eclipse.jdt.core.IJavaProject top int int org.eclipse.jdt.core.IPackageFragmentRoot[]
StackMap stack:
1: aload 4
iload 2
aaload
astore 1
start local 1 2: aload 1
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getKind:()I
iconst_1
if_icmpne 4
3: iconst_1
ireturn
end local 1 4: StackMap locals:
StackMap stack:
iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
iload 3
if_icmplt 1
6: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 project Lorg/eclipse/jdt/core/IJavaProject;
2 4 1 fragment Lorg/eclipse/jdt/core/IPackageFragmentRoot;
Exceptions:
throws org.eclipse.jdt.core.JavaModelException
MethodParameters:
Name Flags
project
public static java.util.Map<java.io.File, org.eclipse.jdt.core.IPackageFragmentRoot> getClasspath(org.eclipse.jdt.core.IJavaProject);
descriptor: (Lorg/eclipse/jdt/core/IJavaProject;)Ljava/util/Map;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=9, args_size=1
start local 0 0: new java.util.LinkedHashMap
dup
invokespecial java.util.LinkedHashMap.<init>:()V
astore 1
start local 1 1: aload 0
invokeinterface org.eclipse.jdt.core.IJavaProject.getPackageFragmentRoots:()[Lorg/eclipse/jdt/core/IPackageFragmentRoot;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 16
StackMap locals: org.eclipse.jdt.core.IJavaProject java.util.Map top int int org.eclipse.jdt.core.IPackageFragmentRoot[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getKind:()I
iconst_2
if_icmpne 15
4: aconst_null
astore 6
start local 6 5: aload 2
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.isExternal:()Z
ifeq 8
6: aload 2
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getPath:()Lorg/eclipse/core/runtime/IPath;
invokeinterface org.eclipse.core.runtime.IPath.toFile:()Ljava/io/File;
astore 6
7: goto 13
8: StackMap locals: org.eclipse.jdt.core.IJavaProject java.util.Map org.eclipse.jdt.core.IPackageFragmentRoot int int org.eclipse.jdt.core.IPackageFragmentRoot[] java.io.File
StackMap stack:
aload 2
invokeinterface org.eclipse.jdt.core.IPackageFragmentRoot.getResource:()Lorg/eclipse/core/resources/IResource;
astore 7
start local 7 9: aload 7
ifnull 13
10: aload 7
invokeinterface org.eclipse.core.resources.IResource.getLocation:()Lorg/eclipse/core/runtime/IPath;
astore 8
start local 8 11: aload 8
ifnull 13
12: aload 8
invokeinterface org.eclipse.core.runtime.IPath.toFile:()Ljava/io/File;
astore 6
end local 8 end local 7 13: StackMap locals:
StackMap stack:
aload 6
ifnull 15
14: aload 1
aload 6
aload 2
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 2 15: StackMap locals: org.eclipse.jdt.core.IJavaProject java.util.Map top int int org.eclipse.jdt.core.IPackageFragmentRoot[]
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
16: iload 3
iload 4
if_icmplt 2
17: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 project Lorg/eclipse/jdt/core/IJavaProject;
1 18 1 classpath Ljava/util/Map<Ljava/io/File;Lorg/eclipse/jdt/core/IPackageFragmentRoot;>;
3 15 2 fragment Lorg/eclipse/jdt/core/IPackageFragmentRoot;
5 15 6 classpathLocation Ljava/io/File;
9 13 7 resource Lorg/eclipse/core/resources/IResource;
11 13 8 location Lorg/eclipse/core/runtime/IPath;
Exceptions:
throws org.eclipse.jdt.core.JavaModelException
Signature: (Lorg/eclipse/jdt/core/IJavaProject;)Ljava/util/Map<Ljava/io/File;Lorg/eclipse/jdt/core/IPackageFragmentRoot;>;
MethodParameters:
Name Flags
project
public static java.util.Set<java.io.File> getOutputDirectories(org.eclipse.jdt.core.IJavaProject);
descriptor: (Lorg/eclipse/jdt/core/IJavaProject;)Ljava/util/Set;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=6, args_size=1
start local 0 0: new java.util.LinkedHashSet
dup
invokespecial java.util.LinkedHashSet.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokeinterface org.eclipse.jdt.core.IJavaProject.getOutputLocation:()Lorg/eclipse/core/runtime/IPath;
invokestatic org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookup.addWorkspaceLocation:(Ljava/util/Collection;Lorg/eclipse/core/runtime/IPath;)V
2: aload 0
invokeinterface org.eclipse.jdt.core.IJavaProject.getRawClasspath:()[Lorg/eclipse/jdt/core/IClasspathEntry;
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 7
StackMap locals: org.eclipse.jdt.core.IJavaProject java.util.Set top int int org.eclipse.jdt.core.IClasspathEntry[]
StackMap stack:
3: aload 5
iload 3
aaload
astore 2
start local 2 4: aload 2
invokeinterface org.eclipse.jdt.core.IClasspathEntry.getEntryKind:()I
iconst_3
if_icmpne 6
aload 2
invokeinterface org.eclipse.jdt.core.IClasspathEntry.getOutputLocation:()Lorg/eclipse/core/runtime/IPath;
ifnull 6
5: aload 1
aload 2
invokeinterface org.eclipse.jdt.core.IClasspathEntry.getOutputLocation:()Lorg/eclipse/core/runtime/IPath;
invokestatic org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookup.addWorkspaceLocation:(Ljava/util/Collection;Lorg/eclipse/core/runtime/IPath;)V
end local 2 6: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
7: iload 3
iload 4
if_icmplt 3
8: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 project Lorg/eclipse/jdt/core/IJavaProject;
1 9 1 locations Ljava/util/Set<Ljava/io/File;>;
4 6 2 cpe Lorg/eclipse/jdt/core/IClasspathEntry;
Exceptions:
throws org.eclipse.jdt.core.JavaModelException
Signature: (Lorg/eclipse/jdt/core/IJavaProject;)Ljava/util/Set<Ljava/io/File;>;
MethodParameters:
Name Flags
project
private static void addWorkspaceLocation(java.util.Collection<java.io.File>, org.eclipse.core.runtime.IPath);
descriptor: (Ljava/util/Collection;Lorg/eclipse/core/runtime/IPath;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: getstatic org.eclipse.jdt.launching.sourcelookup.advanced.AdvancedSourceLookup.root:Lorg/eclipse/core/resources/IWorkspaceRoot;
aload 1
invokeinterface org.eclipse.core.resources.IWorkspaceRoot.findMember:(Lorg/eclipse/core/runtime/IPath;)Lorg/eclipse/core/resources/IResource;
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
aload 2
invokeinterface org.eclipse.core.resources.IResource.getLocation:()Lorg/eclipse/core/runtime/IPath;
invokeinterface org.eclipse.core.runtime.IPath.toFile:()Ljava/io/File;
invokeinterface java.util.Collection.add:(Ljava/lang/Object;)Z
pop
3: StackMap locals: org.eclipse.core.resources.IResource
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 locations Ljava/util/Collection<Ljava/io/File;>;
0 4 1 workspacePath Lorg/eclipse/core/runtime/IPath;
1 4 2 resource Lorg/eclipse/core/resources/IResource;
Signature: (Ljava/util/Collection<Ljava/io/File;>;Lorg/eclipse/core/runtime/IPath;)V
MethodParameters:
Name Flags
locations
workspacePath
public static java.lang.String getJavaagentString();
descriptor: ()Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: invokestatic org.eclipse.jdt.internal.launching.sourcelookup.advanced.AdvancedSourceLookupSupport.getJavaagentString:()Ljava/lang/String;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static java.io.File getClassesLocation(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/io/File;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.eclipse.jdt.internal.launching.sourcelookup.advanced.IJDIHelpers.INSTANCE:Lorg/eclipse/jdt/internal/launching/sourcelookup/advanced/IJDIHelpers;
aload 0
invokeinterface org.eclipse.jdt.internal.launching.sourcelookup.advanced.IJDIHelpers.getClassesLocation:(Ljava/lang/Object;)Ljava/io/File;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 fElement Ljava/lang/Object;
Exceptions:
throws org.eclipse.debug.core.DebugException
MethodParameters:
Name Flags
fElement
public static org.eclipse.debug.core.model.IPersistableSourceLocator createSourceLocator(java.lang.String, org.eclipse.debug.core.ILaunchConfiguration);
descriptor: (Ljava/lang/String;Lorg/eclipse/debug/core/ILaunchConfiguration;)Lorg/eclipse/debug/core/model/IPersistableSourceLocator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.eclipse.jdt.internal.launching.sourcelookup.advanced.AdvancedSourceLookupSupport.createSourceLocator:(Ljava/lang/String;Lorg/eclipse/debug/core/ILaunchConfiguration;)Lorg/eclipse/debug/core/model/IPersistableSourceLocator;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/String;
0 1 1 configuration Lorg/eclipse/debug/core/ILaunchConfiguration;
Exceptions:
throws org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
type
configuration
}
SourceFile: "AdvancedSourceLookup.java"