de.tsl2.nano.core.cls.ClassFinder.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tsl2.nano.terminal Show documentation
Show all versions of tsl2.nano.terminal Show documentation
TSL2 Framework Terminal (Console Application Framework named SIShell, providing Actions, Options, Commands, Inputs, lots of Selectors, PlatformManagement)
???? 4?
&
%
!
" ?#
$%&'()
*+
(,
-,./
0
-12
34
%56 789:
;<
=>
%?
;@AB
CDE
<F
;G
;HI
=JK
=L
=M
%NOP
QRS
T
-UV NW
XY
Z[
Z\]^]_
&`
abc
db
efbgbhij
^k
l
]m
nop\
]q
]U
]1
rs
&tbu
vbw
xy
ok
z{
]|
]}
cq
cU
c~
u?
xk
]?
]?
dq
dU
d~
?? InnerClasses LOG Lorg/apache/commons/logging/Log; self #Lde/tsl2/nano/core/cls/ClassFinder; packageNames Ljava/util/Set; Signature #Ljava/util/Set; classes %Ljava/util/Set;>; %()Lde/tsl2/nano/core/cls/ClassFinder; Code LineNumberTable
StackMapTable ()V LocalVariableTable this (Ljava/lang/ClassLoader;)V classLoader Ljava/lang/ClassLoader; init e Ljava/lang/Exception; baseClassLoader(
addClasses ?(Ljava/lang/ClassLoader;Ljava/util/Set;)Ljava/lang/ClassLoader; LocalVariableTypeTable U(Ljava/lang/ClassLoader;Ljava/util/Set;>;)Ljava/lang/ClassLoader; collectPackageClasses i I cl packages [Ljava/lang/Package; ? P(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/util/Set;)Ljava/util/Collection; "Ljava/lang/ClassNotFoundException; upackage Ljava/net/URL; dis Ljava/io/BufferedReader; line Ljava/lang/String; e1 Ljava/io/IOException; pack?%A?PS?? |(Ljava/lang/ClassLoader;Ljava/lang/String;Ljava/util/Set;>;)Ljava/util/Collection;>; addFromPackageAnnotation (Ljava/lang/Class;)V packageDescriptor Ljava/lang/Class; =Ljava/lang/Class<+Lde/tsl2/nano/core/cls/PackageDescriptor;>; @(Ljava/lang/Class<+Lde/tsl2/nano/core/cls/PackageDescriptor;>;)V getImplementations "(Ljava/lang/Class;)Ljava/util/Set; a )Lde/tsl2/nano/core/cls/PackageDescriptor; d(Ljava/lang/Class<+Lde/tsl2/nano/core/cls/PackageDescriptor;>;)Ljava/util/Set;>; addFromServiceLoader impl Ljava/lang/Object; baseType loader Ljava/util/ServiceLoader; TT; Ljava/lang/Class; Ljava/util/ServiceLoader;?? /(Ljava/lang/Class;)V findClass )(Ljava/lang/Class;)Ljava/util/Collection; base \(Ljava/lang/Class;)Ljava/util/Collection;>; %(Ljava/lang/String;)Ljava/lang/Class; filter result Ljava/util/Map; 4Ljava/util/Map;?i fuzzyFind #(Ljava/lang/String;)Ljava/util/Map; P;>(Ljava/lang/String;)TM; F(Ljava/lang/String;Ljava/lang/Class;ILjava/lang/Class;)Ljava/util/Map; match D cls it Ljava/util/Iterator;
resultType modifier
annotation
addMethods Z addFields *Ljava/util/Iterator;>; 5Ljava/lang/Class<+Ljava/lang/annotation/Annotation;>; &Ljava/util/Map; ?;>(Ljava/lang/String;Ljava/lang/Class;ILjava/lang/Class<+Ljava/lang/annotation/Annotation;>;)TM; fuzzyFindMethods F(Ljava/lang/Class;Ljava/lang/String;ILjava/lang/Class;)Ljava/util/Map; map Ljava/util/HashMap; methods [Ljava/lang/reflect/Method; ALjava/util/HashMap;? ? ?(Ljava/lang/Class;Ljava/lang/String;ILjava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Ljava/util/Map; fuzzyFindFields fields [Ljava/lang/reflect/Field; @Ljava/util/HashMap; ? ?(Ljava/lang/Class;Ljava/lang/String;ILjava/lang/Class<+Ljava/lang/annotation/Annotation;>;)Ljava/util/Map; reset
SourceFile ClassFinder.java ? ? !de/tsl2/nano/core/cls/ClassFinder ? ?????? ? ? ? ? java/util/HashSet ? ? ? ??? ? ? java/lang/Exception? ? ? ? ? ? E---------------------------------------------------------------------??? java/lang/StringBuilder ClassFinder created for ??????? classes?? %de/tsl2/nano/core/cls/PrivateAccessor ?? java/util/Vector?? java/util/Collection?? getParent java/lang/ClassLoader java/lang/Object?? 0de/tsl2/nano/core/classloader/RuntimeClassloader????? ( Packages will be loaded on classloader ?????? ? ? classes scanned by ClassFinder'?????? loading classes on : ?????????? java/io/BufferedReader java/io/InputStreamReader??? java/io/InputStream ?? ???? .class?? .????? ??? java/lang/ClassNotFoundException??? java/io/IOException ? ??? 'de/tsl2/nano/core/cls/PackageDescriptor????????????????? ? ???? ? ???????? java/lang/Class #de/tsl2/nano/core/cls/ClassFinder$1 ?? ? ??? ? ? java/lang/reflect/Method java/lang/reflect/Field????????? ? ??? ? ? #de/tsl2/nano/core/cls/ClassFinder$2?????????? #de/tsl2/nano/core/cls/ClassFinder$3??????? java/net/URL java/lang/String java/lang/Throwable
java/util/Set java/util/ServiceLoader java/util/Iterator
java/util/Map java/util/HashMap java/lang/Thread
currentThread ()Ljava/lang/Thread; getContextClassLoader ()Ljava/lang/ClassLoader; getSystemClassLoader printStackTrace org/apache/commons/logging/Log info (Ljava/lang/Object;)V append -(Ljava/lang/String;)Ljava/lang/StringBuilder; size ()I (I)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; member 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object; addAll (Ljava/util/Collection;)Z call J(Ljava/lang/String;Ljava/lang/Class;[Ljava/lang/Object;)Ljava/lang/Object; getPackages ()[Ljava/lang/Package; java/lang/Package debug -(Ljava/lang/Object;)Ljava/lang/StringBuilder; getName contains (Ljava/lang/Object;)Z isDebugEnabled ()Z java/lang/System out Ljava/io/PrintStream; java/io/PrintStream print (Ljava/lang/String;)V replace (CC)Ljava/lang/String; getResource "(Ljava/lang/String;)Ljava/net/URL; println (I)V
getContent ()Ljava/lang/Object; (Ljava/io/InputStream;)V (Ljava/io/Reader;)V readLine endsWith (Ljava/lang/String;)Z lastIndexOf (I)I substring (II)Ljava/lang/String; loadClass add "de/tsl2/nano/core/ManagedException forward ,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
getAnnotation 4(Ljava/lang/Class;)Ljava/lang/annotation/Annotation; implementations ()[Ljava/lang/Class; java/util/Arrays asList %([Ljava/lang/Object;)Ljava/util/List; load C(Ljava/lang/Class;Ljava/lang/ClassLoader;)Ljava/util/ServiceLoader; iterator ()Ljava/util/Iterator; hasNext next getClass ()Ljava/lang/Class; values ()Ljava/util/Collection; java/lang/Double valueOf (D)Ljava/lang/Double; containsKey get &(Ljava/lang/Object;)Ljava/lang/Object; &(Lde/tsl2/nano/core/cls/ClassFinder;)V isAssignableFrom (Ljava/lang/Class;)Z getModifiers !de/tsl2/nano/core/util/StringUtil
fuzzyMatch '(Ljava/lang/Object;Ljava/lang/String;)D equals put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; putAll (Ljava/util/Map;)V java/lang/reflect/Modifier isPublic (I)Z
getMethods ()[Ljava/lang/reflect/Method; getDeclaredMethods toGenericString getFields ()[Ljava/lang/reflect/Field; getDeclaredFields de/tsl2/nano/core/log/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! &