com.lonelystorm.air.asset.services.impl.LibraryResolverImpl.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of air-asset Show documentation
Show all versions of air-asset Show documentation
The LonelyStorm Air Asset library provides support to be able to compile SASS files at runtime.
???? 3 ? ;com/lonelystorm/air/asset/services/impl/LibraryResolverImpl java/lang/Object 2com/lonelystorm/air/asset/services/LibraryResolver LibraryResolverImpl.java ,Lorg/apache/felix/scr/annotations/Component; *Lorg/apache/felix/scr/annotations/Service; =com/lonelystorm/air/asset/services/impl/LibraryResolverImpl$1
2com/lonelystorm/air/util/EscalatedResolver$Session *com/lonelystorm/air/util/EscalatedResolver Session resourceResolverFactory 7Lorg/apache/sling/api/resource/ResourceResolverFactory; ,Lorg/apache/felix/scr/annotations/Reference; libraries Ljava/util/Map; RLjava/util/Map; sources
categories dLjava/util/Map;>; themes PLjava/util/Map; themesCategories bLjava/util/Map;>; ()V
this =Lcom/lonelystorm/air/asset/services/impl/LibraryResolverImpl; activate 0(Lorg/osgi/service/component/ComponentContext;)V +Lorg/apache/felix/scr/annotations/Activate; java/util/TreeMap '
( * , . 0 2 context -Lorg/osgi/service/component/ComponentContext; load <(Ljava/lang/String;)Lcom/lonelystorm/air/asset/models/Asset; 8 getClass ()Ljava/lang/Class; : ;
< K(Lorg/apache/sling/api/resource/ResourceResolverFactory;Ljava/lang/Class;)V >
? R(Lcom/lonelystorm/air/asset/services/impl/LibraryResolverImpl;Ljava/lang/String;)V A
B doSession H(Lcom/lonelystorm/air/util/EscalatedResolver$Session;)Ljava/lang/Object; D E
F -com/lonelystorm/air/asset/models/AssetLibrary H add 2(Lcom/lonelystorm/air/asset/models/AssetLibrary;)V J K
L path Ljava/lang/String; escalated ,Lcom/lonelystorm/air/util/EscalatedResolver; library /Lcom/lonelystorm/air/asset/models/AssetLibrary; clear
java/util/Map U T V W java/lang/Throwable Y getPath ()Ljava/lang/String; [ \
I ] put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; _ ` V a
getSources ()Ljava/util/Set; c d
I e
java/util/Set g iterator ()Ljava/util/Iterator; i j h k java/util/Iterator m hasNext ()Z o p n q next ()Ljava/lang/Object; s t n u java/lang/String w
getCategories ()[Ljava/lang/String; y z
I { containsKey (Ljava/lang/Object;)Z } ~ V java/util/ArrayList ?
? get &(Ljava/lang/Object;)Ljava/lang/Object; ? ? V ? java/util/List ? J ~ ? ? getThemes ? d
I ? +com/lonelystorm/air/asset/models/AssetTheme ?
? ] ? z
? ? source category theme -Lcom/lonelystorm/air/asset/models/AssetTheme; [Ljava/lang/String; ? findLibraryBySource C(Ljava/lang/String;)Lcom/lonelystorm/air/asset/models/AssetLibrary; findLibraryByPath ? ?
? findLibrariesByCategory $(Ljava/lang/String;)Ljava/util/List; findThemeByPath A(Ljava/lang/String;)Lcom/lonelystorm/air/asset/models/AssetTheme; findThemesByTheme bindResourceResolverFactory :(Lorg/apache/sling/api/resource/ResourceResolverFactory;)V unbindResourceResolverFactory RuntimeInvisibleAnnotations Signature Code LocalVariableTable LineNumberTable
StackMapTable U(Ljava/lang/String;)Ljava/util/List; S(Ljava/lang/String;)Ljava/util/List;
SourceFile InnerClasses $jacocoInit ()[Z ? ?
? [Z ? $jacocoData ? ? ?
P??g?(? ,org/jacoco/agent/rt/internal_e6e56f0/Offline ? getProbes (JLjava/lang/String;I)[Z ? ?
? ? ! ? B ? B ? B ? B ? B ? ? ? ?
? 7
? ?L*? !+T? ? " # ? $ % ? ? @? ?M*? (Y? )? +*? (Y? )? -*? (Y? )? /*? (Y? )? 1*? (Y? )? 3,T? ? <