com.google.common.reflect.ClassPath$Scanner.class Maven / Gradle / Ivy
???? 2h , ?
P ? ?
? ?
? O ?
? ? O ?
?
4 ? q
D ? ? ? ?
?
O ?
?
?
O ?
O ? ?
? ?
O ?
?
? ?
?
? ? ?
? ?
?
?
?
? ?
? ?
? ?
? ?
? ?
? ? ?
V ?
? ?
, ? ?
, ?
O ?
? ? ? ? ? ? ?
O ?
, ? ? ? ? ? ?
9 ?
9 ?
, ?
? ? ? ?
? ?
? ?
? ?
?
O
4
4
D
resources Builder InnerClasses 6Lcom/google/common/collect/ImmutableSortedSet$Builder; Signature ResourceInfo jLcom/google/common/collect/ImmutableSortedSet$Builder; scannedUris Ljava/util/Set; Ljava/util/Set; ()V Code LineNumberTable LocalVariableTable this Scanner -Lcom/google/common/reflect/ClassPath$Scanner; getResources 0()Lcom/google/common/collect/ImmutableSortedSet; d()Lcom/google/common/collect/ImmutableSortedSet; scan ((Ljava/net/URI;Ljava/lang/ClassLoader;)V uri Ljava/net/URI; classloader Ljava/lang/ClassLoader;
StackMapTable
Exceptions scanFrom ((Ljava/io/File;Ljava/lang/ClassLoader;)V file Ljava/io/File; RuntimeInvisibleAnnotations 1Lcom/google/common/annotations/VisibleForTesting;
scanDirectory directory b(Ljava/io/File;Ljava/lang/ClassLoader;Ljava/lang/String;Lcom/google/common/collect/ImmutableSet;)V resourceName Ljava/lang/String; name f arr$ [Ljava/io/File; len$ I i$
packagePrefix ancestors (Lcom/google/common/collect/ImmutableSet; canonical files newAncestors LocalVariableTypeTable 8Lcom/google/common/collect/ImmutableSet; ? } r(Ljava/io/File;Ljava/lang/ClassLoader;Ljava/lang/String;Lcom/google/common/collect/ImmutableSet;)V scanJar e Ljava/io/IOException; Ljava/util/Iterator; entry Ljava/util/jar/JarEntry; entries Ljava/util/Enumeration; ignored jarFile Ljava/util/jar/JarFile; 1Ljava/util/Enumeration; ? ? ? getClassPathFromManifest P(Ljava/io/File;Ljava/util/jar/Manifest;)Lcom/google/common/collect/ImmutableSet; Ljava/net/URISyntaxException; path manifest Ljava/util/jar/Manifest; builder 0Lcom/google/common/collect/ImmutableSet$Builder; classpathAttribute @Lcom/google/common/collect/ImmutableSet$Builder; ? `(Ljava/io/File;Ljava/util/jar/Manifest;)Lcom/google/common/collect/ImmutableSet; "RuntimeVisibleParameterAnnotations Ljavax/annotation/Nullable; getClassPathEntry 0(Ljava/io/File;Ljava/lang/String;)Ljava/net/URI;
SourceFile ClassPath.java y \ ] 4com/google/common/collect/ImmutableSortedSet$Builder \ Q T Y Z! e"#$%&'% java/io/File \( o p)*+* u p ? p ,- u w./0%12345 java/lang/StringBuilder Cannot read directory 67689#:;< ?=>?'@!-A# / META-INF/MANIFEST.MF,B'C java/util/jar/JarFile \D java/io/IOExceptionEF ? ?GHI*JK java/net/URI g h ?LM*NK java/util/jar/JarEntryO ]PQRTUVWXYZ[\]^ java/lang/String ? ? java/net/URISyntaxException Invalid Class-Path entry: \<_*`/abcd \efg +com/google/common/reflect/ClassPath$Scanner java/lang/Object 0com/google/common/reflect/ClassPath$ResourceInfo java/lang/ClassLoader &com/google/common/collect/ImmutableSet java/util/Iterator java/util/Enumeration java/lang/Throwable .com/google/common/collect/ImmutableSet$Builder java/util/jar/Manifest
MANIFEST_NAME ,com/google/common/collect/ImmutableSortedSet "com/google/common/collect/Ordering
usingToString &()Lcom/google/common/collect/Ordering; (Ljava/util/Comparator;)V com/google/common/collect/Sets
newHashSet ()Ljava/util/HashSet; build getScheme ()Ljava/lang/String; equals (Ljava/lang/Object;)Z
java/util/Set add (Ljava/net/URI;)V exists ()Z isDirectory of *()Lcom/google/common/collect/ImmutableSet; getCanonicalFile ()Ljava/io/File; contains listFiles ()[Ljava/io/File; #com/google/common/reflect/ClassPath
access$000 ()Ljava/util/logging/Logger; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString java/util/logging/Logger warning (Ljava/lang/String;)V 2()Lcom/google/common/collect/ImmutableSet$Builder; addAll F(Ljava/lang/Iterable;)Lcom/google/common/collect/ImmutableSet$Builder; D(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSet$Builder; getName ](Ljava/lang/String;Ljava/lang/ClassLoader;)Lcom/google/common/reflect/ClassPath$ResourceInfo; J(Ljava/lang/Object;)Lcom/google/common/collect/ImmutableSortedSet$Builder; (Ljava/io/File;)V getManifest ()Ljava/util/jar/Manifest; iterator ()Ljava/util/Iterator; hasNext next ()Ljava/lang/Object; ()Ljava/util/Enumeration; hasMoreElements nextElement close getMainAttributes ()Ljava/util/jar/Attributes; java/util/jar/Attributes$Name Name
CLASS_PATH Ljava/util/jar/Attributes$Name; java/util/jar/Attributes getValue &(Ljava/lang/String;)Ljava/lang/String;
access$100 #()Lcom/google/common/base/Splitter; com/google/common/base/Splitter split .(Ljava/lang/CharSequence;)Ljava/lang/Iterable; java/lang/Iterable
isAbsolute
getParentFile
separatorChar C replace (CC)Ljava/lang/String; #(Ljava/io/File;Ljava/lang/String;)V toURI ()Ljava/net/URI; 0 O P Q T U X Y Z U [ \ ] ^ L *? *? Y? ? ? *? ? ? _
` a c d e ^ 2 *? ? ? _ ` a c U f g h ^ v '+?
? ? *? +?
? *? Y+? ,? ? _ & ` ' a c ' i j ' k l m &