com.lonelystorm.air.asset.services.impl.CompilerManagerImpl.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/CompilerManagerImpl java/lang/Object 2com/lonelystorm/air/asset/services/CompilerManager CompilerManagerImpl.java ,Lorg/apache/felix/scr/annotations/Component; *Lorg/apache/felix/scr/annotations/Service; =com/lonelystorm/air/asset/services/impl/CompilerManagerImpl$1
2com/lonelystorm/air/util/EscalatedResolver$Session *com/lonelystorm/air/util/EscalatedResolver Session compilers Ljava/util/Map; PLjava/util/Map; ,Lorg/apache/felix/scr/annotations/Reference; referenceInterface -Lcom/lonelystorm/air/asset/services/Compiler; policy 2Lorg/apache/felix/scr/annotations/ReferencePolicy; DYNAMIC cardinality 7Lorg/apache/felix/scr/annotations/ReferenceCardinality; OPTIONAL_MULTIPLE bind bindCompiler unbind unbindCompiler resourceResolverFactory 7Lorg/apache/sling/api/resource/ResourceResolverFactory; cacheManager 1Lcom/lonelystorm/air/asset/services/CacheManager; libraryResolver 4Lcom/lonelystorm/air/asset/services/LibraryResolver; ()V ' (
) java/util/TreeMap +
, ) java/util/Collections . synchronizedMap (Ljava/util/Map;)Ljava/util/Map; 0 1
/ 2 4 this =Lcom/lonelystorm/air/asset/services/impl/CompilerManagerImpl; 0(Lcom/lonelystorm/air/asset/services/Compiler;)V getClass ()Ljava/lang/Class; 9 :
; java/lang/Class = getName ()Ljava/lang/String; ? @
> A
java/util/Map C put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; E F D G compiler name Ljava/lang/String; remove &(Ljava/lang/Object;)Ljava/lang/Object; L M D N compile <(Lcom/lonelystorm/air/asset/models/Asset;)Ljava/lang/String; java/lang/StringBuilder R
S ) D(Lcom/lonelystorm/air/asset/models/Asset;Ljava/lang/StringBuilder;)V P U
V toString X @
S Y library (Lcom/lonelystorm/air/asset/models/Asset; compiled Ljava/lang/StringBuilder; -com/lonelystorm/air/asset/models/AssetLibrary _ getEmbed ()[Ljava/lang/String; a b
` c % & e 2com/lonelystorm/air/asset/services/LibraryResolver g findLibrariesByCategory $(Ljava/lang/String;)Ljava/util/List; i j h k java/util/List m iterator ()Ljava/util/Iterator; o p n q java/util/Iterator s hasNext ()Z u v t w next ()Ljava/lang/Object; y z t { +com/lonelystorm/air/asset/models/AssetTheme }
~ c findThemesByTheme ? j h ? &com/lonelystorm/air/asset/models/Asset ?
getSources ()Ljava/util/Set; ? ?
? ?
java/util/Set ? ? q java/lang/String ? # $ ? /com/lonelystorm/air/asset/services/CacheManager ? get &(Ljava/lang/String;)Ljava/lang/String; ? ? ? ? N(Lcom/lonelystorm/air/asset/models/Asset;Ljava/lang/String;)Ljava/lang/String; P ?
? cache '(Ljava/lang/String;Ljava/lang/String;)V ? ? ? ? append -(Ljava/lang/String;)Ljava/lang/StringBuilder; ? ?
S ? lib /Lcom/lonelystorm/air/asset/models/AssetLibrary; libs ALjava/util/List; Ljava/util/List; embed folder theme -Lcom/lonelystorm/air/asset/models/AssetTheme; themes ?Ljava/util/List; result file [Ljava/lang/String; ? ! " ? K(Lorg/apache/sling/api/resource/ResourceResolverFactory;Ljava/lang/Class;)V ' ?
? R(Lcom/lonelystorm/air/asset/services/impl/CompilerManagerImpl;Ljava/lang/String;)V ' ?
? doSession H(Lcom/lonelystorm/air/util/EscalatedResolver$Session;)Ljava/lang/Object; ? ?
? values ()Ljava/util/Collection; ? ? D ? java/util/Collection ? ? q +com/lonelystorm/air/asset/services/Compiler ? supports =(Lcom/lonelystorm/air/asset/models/Asset;Ljava/lang/String;)Z ? ? ? ? `(Lcom/lonelystorm/air/asset/models/Asset;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; P ? ? ? escalated ,Lcom/lonelystorm/air/util/EscalatedResolver; source bindResourceResolverFactory :(Lorg/apache/sling/api/resource/ResourceResolverFactory;)V unbindResourceResolverFactory bindCacheManager 4(Lcom/lonelystorm/air/asset/services/CacheManager;)V unbindCacheManager bindLibraryResolver 7(Lcom/lonelystorm/air/asset/services/LibraryResolver;)V unbindLibraryResolver Signature RuntimeInvisibleAnnotations Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable
SourceFile InnerClasses $jacocoInit ()[Z ? ?
? [Z ? $jacocoData ? ? ?GuC?B1? ,org/jacoco/agent/rt/internal_e6e56f0/Offline ? getProbes (JLjava/lang/String;I)[Z ? ?
? ? ! ? ? # c e e s s ! " ? # $ ? % &