org.apache.cayenne.modeler.osx.OSXApplicationWrapper.class Maven / Gradle / Ivy
???? 4 ?
? # ?
# ? # ? # ?
# ? # ? # ? ? # ?
# ? # ? ?
d ? ? ? # ? ?
? ?
?
d ?
? ? ? ?
# ? ? ?
# ? ? B ? D ? ?
?
? ?
?
? ? ? ?
? ? ? e ? ?
/ ? Z ?
? ? logger Lorg/slf4j/Logger;
JAVA8_PACKAGE Ljava/lang/String;
ConstantValue
JAVA9_PACKAGE application Lcom/apple/eawt/Application; aboutHandlerClass Ljava/lang/Class; Signature Ljava/lang/Class<*>; setAboutHandler Ljava/lang/reflect/Method; preferencesHandlerClass setPreferencesHandler quitHandlerClass setQuitHandler (Lcom/apple/eawt/Application;)V Code LineNumberTable LocalVariableTable this 6Lorg/apache/cayenne/modeler/osx/OSXApplicationWrapper; (Ljava/lang/Runnable;)V action Ljava/lang/Runnable; (Ljava/util/function/Consumer;)V ex (Ljava/lang/ReflectiveOperationException; Ljava/util/function/Consumer; handler %Ljava/lang/reflect/InvocationHandler; proxy Ljava/lang/Object; LocalVariableTypeTable VLjava/util/function/Consumer;
StackMapTable ? ? ? Y(Ljava/util/function/Consumer;)V initMethods ()V
setHandler B(Ljava/lang/reflect/Method;Ljava/lang/Class;Ljava/lang/Runnable;)V setMethod handlerClass ? ? E(Ljava/lang/reflect/Method;Ljava/lang/Class<*>;Ljava/lang/Runnable;)V createProxy J(Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object; M(Ljava/lang/Class<*>;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object; getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; !Ljava/lang/NoSuchMethodException; name
parameters [Ljava/lang/Class; [Ljava/lang/Class<*>; C(Ljava/lang/String;[Ljava/lang/Class<*>;)Ljava/lang/reflect/Method; getHandlerClass %(Ljava/lang/String;)Ljava/lang/Class; ex2 "Ljava/lang/ClassNotFoundException; className ? ((Ljava/lang/String;)Ljava/lang/Class<*>; lambda$setHandler$1 g(Ljava/lang/Runnable;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object; method args [Ljava/lang/Object;
Exceptions ? lambda$setQuitHandler$0 p(Ljava/util/function/Consumer;Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
SourceFile OSXApplicationWrapper.java E _ 9 : ^ _ B @ A < ` a ? @ ; < BootstrapMethods ? ? ? ? ? C < g h D @ java/lang/Object ? ? java/lang/IllegalAccessException +java/lang/reflect/InvocationTargetException 3 4 java/lang/StringBuilder Unable to call ? ? ? ? ? ? ? ? ? AboutHandler r s java/lang/Class j k PreferencesHandler QuitHandler ? ? ? 4org/apache/cayenne/modeler/osx/OSXApplicationWrapper ? ? ? ? ? ? ? java/lang/NoSuchMethodException Unable to find method com.apple.eawt. ? s java/lang/ClassNotFoundException java.awt.desktop. ? _ 5org/apache/cayenne/modeler/osx/OSXQuitResponseWrapper E ? ? ? ? ? ? java/util/function/Consumer #java/lang/reflect/InvocationHandler &java/lang/ReflectiveOperationException java/lang/reflect/Method java/lang/Runnable java/lang/String java/lang/Throwable
? ? S(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;
# ? invoke D(Ljava/util/function/Consumer;)Ljava/lang/reflect/InvocationHandler; 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; append -(Ljava/lang/String;)Ljava/lang/StringBuilder; getName ()Ljava/lang/String; toString org/slf4j/Logger warn *(Ljava/lang/String;Ljava/lang/Throwable;)V
# ? ;(Ljava/lang/Runnable;)Ljava/lang/reflect/InvocationHandler; getClassLoader ()Ljava/lang/ClassLoader; java/lang/reflect/Proxy newProxyInstance b(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object; getClass ()Ljava/lang/Class; forName run (Ljava/lang/Object;)V accept org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger; ? ? ? ? ? y z "java/lang/invoke/LambdaMetafactory metafactory ? Lookup InnerClasses ?(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; ? %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! #
3 4 5 6 7 * 8 6 7 - 9 : ; <