![JAR search and dependency download from the Maven repository](/logo.png)
com.google.common.reflect.ClassPath.class Maven / Gradle / Ivy
???? 4? ?
k ? ?
? ?
?
? ? ? ? ? ? ?
? ? ?
? ?
?
? ? ?
? ?
?
? ? ?
? ?
?
?
5
?
?
5
' '
?
? !
"# $
%&'()
*+,
-.
B/ ?
0
12
+3
?4
5
6 ?7
?8
?9
:;
F<
6=
+>
k
?
6@
6A BC
BD
%E BF
)G
)H
IJ
?KL
)M
BN OPQ
-R
?S
BT
5UV
5W
5X
Y
BH
)Z[
B\
]
-^_
%`a LocationInfo InnerClasses ClassInfob ResourceInfo logger Ljava/util/logging/Logger; CLASS_PATH_ATTRIBUTE_SEPARATOR !Lcom/google/common/base/Splitter; CLASS_FILE_NAME_EXTENSION Ljava/lang/String;
ConstantValue resources (Lcom/google/common/collect/ImmutableSet; Signature \Lcom/google/common/collect/ImmutableSet; +(Lcom/google/common/collect/ImmutableSet;)V Code LineNumberTable LocalVariableTable this %Lcom/google/common/reflect/ClassPath; LocalVariableTypeTable MethodParameters _(Lcom/google/common/collect/ImmutableSet;)V from >(Ljava/lang/ClassLoader;)Lcom/google/common/reflect/ClassPath; location 2Lcom/google/common/reflect/ClassPath$LocationInfo; classloader Ljava/lang/ClassLoader; locations scanned Ljava/util/Set; builderc Builder 0Lcom/google/common/collect/ImmutableSet$Builder; \Lcom/google/common/collect/ImmutableSet; Ljava/util/Set; dLcom/google/common/collect/ImmutableSet$Builder;
StackMapTabledef
Exceptionsg getResources *()Lcom/google/common/collect/ImmutableSet; ^()Lcom/google/common/collect/ImmutableSet;
getAllClasses [()Lcom/google/common/collect/ImmutableSet; getTopLevelClasses <(Ljava/lang/String;)Lcom/google/common/collect/ImmutableSet; classInfo /Lcom/google/common/reflect/ClassPath$ClassInfo; packageName aLcom/google/common/collect/ImmutableSet$Builder; m(Ljava/lang/String;)Lcom/google/common/collect/ImmutableSet; getTopLevelClassesRecursive
packagePrefix
locationsFrom A(Ljava/lang/ClassLoader;)Lcom/google/common/collect/ImmutableSet; entry Entry Ljava/util/Map$Entry; ; dLcom/google/common/collect/ImmutableSet$Builder; u(Ljava/lang/ClassLoader;)Lcom/google/common/collect/ImmutableSet; getClassPathFromManifest P(Ljava/io/File;Ljava/util/jar/Manifest;)Lcom/google/common/collect/ImmutableSet; url Ljava/net/URL; e Ljava/net/MalformedURLException; path jarFile Ljava/io/File; manifest Ljava/util/jar/Manifest; classpathAttribute @Lcom/google/common/collect/ImmutableSet$Builder;h `(Ljava/io/File;Ljava/util/jar/Manifest;)Lcom/google/common/collect/ImmutableSet; RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting; "RuntimeVisibleParameterAnnotations Ljavax/annotation/CheckForNull; getClassPathEntries A(Ljava/lang/ClassLoader;)Lcom/google/common/collect/ImmutableMap; file entries Ljava/util/LinkedHashMap; parent @Ljava/util/LinkedHashMap;i h(Ljava/lang/ClassLoader;)Lcom/google/common/collect/ImmutableMap; getClassLoaderUrls B(Ljava/lang/ClassLoader;)Lcom/google/common/collect/ImmutableList; R(Ljava/lang/ClassLoader;)Lcom/google/common/collect/ImmutableList; parseJavaClassPath +()Lcom/google/common/collect/ImmutableList; Ljava/lang/SecurityException; urlsj 1Lcom/google/common/collect/ImmutableList$Builder; ALcom/google/common/collect/ImmutableList$Builder; ;()Lcom/google/common/collect/ImmutableList; getClassPathEntry 0(Ljava/io/File;Ljava/lang/String;)Ljava/net/URL; getClassName &(Ljava/lang/String;)Ljava/lang/String; filename classNameEnd I toFile (Ljava/net/URL;)Ljava/io/File; Ljava/net/URISyntaxException;
access$000 ()Ljava/util/logging/Logger; ()V
SourceFile ClassPath.java RuntimeVisibleAnnotations ;Lcom/google/common/reflect/ElementTypesAreNonnullByDefault; q r | ? x y ? ? java/util/HashSetklmnop 0com/google/common/reflect/ClassPath$LocationInfo ?qrs ?tuvwx #com/google/common/reflect/ClassPathy ? | }z ?{ -com/google/common/reflect/ClassPath$ClassInfo|}~ ? BootstrapMethodss????|???? ? ????sr? java/lang/StringBuilder?????????? ? ??? ?? java/util/Map$Entry?p java/io/File?p java/lang/ClassLoader |?? ???????? ? s t????k? java/lang/String ? ? java/net/MalformedURLException Invalid Class-Path entry: ????? ? ???????? ? ?? java/net/URL?s???? java/net/URLClassLoader?????? ? ?? ? ??????????? |??????r? java/lang/SecurityException?? |???? malformed classpath entry: ??y ? |??? .class?????? |? java/net/URISyntaxException????? ?? java/lang/Object 0com/google/common/reflect/ClassPath$ResourceInfo .com/google/common/collect/ImmutableSet$Builder &com/google/common/collect/ImmutableSet
java/util/Set java/util/Iterator java/io/IOException java/util/jar/Manifest java/util/LinkedHashMap /com/google/common/collect/ImmutableList$Builder iterator 2()Lcom/google/common/collect/UnmodifiableIterator; hasNext ()Z next ()Ljava/lang/Object; ()Ljava/io/File; add (Ljava/lang/Object;)Z 2()Lcom/google/common/collect/ImmutableSet$Builder;
scanResources 9(Ljava/util/Set;)Lcom/google/common/collect/ImmutableSet; addAll F(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder; build (com/google/common/collect/FluentIterable @(Ljava/lang/Iterable;)Lcom/google/common/collect/FluentIterable; filter =(Ljava/lang/Class;)Lcom/google/common/collect/FluentIterable; toSet
??
? 2(Lcom/google/common/reflect/ClassPath$ClassInfo;)Z apply $()Lcom/google/common/base/Predicate; N(Lcom/google/common/base/Predicate;)Lcom/google/common/collect/FluentIterable; $com/google/common/base/Preconditions checkNotNull &(Ljava/lang/Object;)Ljava/lang/Object; getPackageName ()Ljava/lang/String; equals D(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; (C)Ljava/lang/StringBuilder; toString getName
startsWith (Ljava/lang/String;)Z &com/google/common/collect/ImmutableMap entrySet
java/util/Map getKey getValue ((Ljava/io/File;Ljava/lang/ClassLoader;)V of getMainAttributes ()Ljava/util/jar/Attributes; java/util/jar/Attributes$Name Name
CLASS_PATH Ljava/util/jar/Attributes$Name; java/util/jar/Attributes com/google/common/base/Splitter split .(Ljava/lang/CharSequence;)Ljava/lang/Iterable; java/lang/Iterable ()Ljava/util/Iterator; java/util/logging/Logger warning (Ljava/lang/String;)V getProtocol com/google/common/collect/Maps newLinkedHashMap ()Ljava/util/LinkedHashMap; getParent ()Ljava/lang/ClassLoader; putAll (Ljava/util/Map;)V 'com/google/common/collect/ImmutableList containsKey put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; copyOf 9(Ljava/util/Map;)Lcom/google/common/collect/ImmutableMap; getURLs ()[Ljava/net/URL; >([Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList; getSystemClassLoader 3()Lcom/google/common/collect/ImmutableList$Builder; -com/google/common/base/StandardSystemProperty PATH_SEPARATOR /Lcom/google/common/base/StandardSystemProperty; value on 5(Ljava/lang/String;)Lcom/google/common/base/Splitter; JAVA_CLASS_PATH toURI ()Ljava/net/URI; java/net/URI toURL ()Ljava/net/URL; E(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableList$Builder; getAbsolutePath 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V java/util/logging/Level WARNING Ljava/util/logging/Level; log C(Ljava/util/logging/Level;Ljava/lang/String;Ljava/lang/Throwable;)V #(Ljava/net/URL;Ljava/lang/String;)V length ()I substring (II)Ljava/lang/String; replace (CC)Ljava/lang/String;
checkArgument (Z)V (Ljava/net/URI;)V getPath java/lang/Class getLogger .(Ljava/lang/String;)Ljava/util/logging/Logger; omitEmptyStrings #()Lcom/google/common/base/Splitter;????n "java/lang/invoke/LambdaMetafactory metafactory? Lookup ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
isTopLevel? %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles 1 k q r s t u v w _ x y z { | } ~ X
*? *+? ? i j k ?
? ?
x y ?
x { ? x z ? ? ? ~ 8 o*? L? Y? M+? N-? ? -? ?
:,? ? W???
N+? :? ? ? ?
:-,? ? W?? Y-? ? ? *
~ ?
? &