PK
; META-INF/ PK
;Z!f f META-INF/MANIFEST.MFManifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 14.3-b01 (Sun Microsystems Inc.)
PK
; com/PK
; com/aquait/PK
; com/aquait/utils/PK
; com/aquait/utils/gwt/PK
; # com/aquait/utils/gwt/introspection/PK
; com/aquait/utils/gwt/rebind/PK
; com/aquait/utils/gwt/reflection/PK
;&ݸ * com/aquait/utils/gwt/Introspection.gwt.xml
PK
; ' com/aquait/utils/gwt/Reflection.gwt.xml
PK
;D 7 com/aquait/utils/gwt/introspection/Introspectable.class 1
SourceFile Introspectable.java 1com/aquait/utils/gwt/introspection/Introspectable java/lang/Object PK
;
&1 6 com/aquait/utils/gwt/introspection/Introspectable.java/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.aquait.utils.gwt.introspection;
/**
*
* @author quique
*/
public interface Introspectable {
}
PK
;x.} 6 com/aquait/utils/gwt/introspection/Introspection.class 1 getProperty Y(Lcom/aquait/utils/gwt/introspection/Introspectable;Ljava/lang/String;)Ljava/lang/Object; Signature 0(TI;Ljava/lang/String;)TT; setProperty Z(Lcom/aquait/utils/gwt/introspection/Introspectable;Ljava/lang/String;Ljava/lang/Object;)V *(TI;Ljava/lang/String;Ljava/lang/Object;)V getPropertyNames ()Ljava/util/Collection; ,()Ljava/util/Collection; JLjava/lang/Object;
SourceFile Introspection.java 0com/aquait/utils/gwt/introspection/Introspection java/lang/Object
PK
;R 5 com/aquait/utils/gwt/introspection/Introspection.java/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.aquait.utils.gwt.introspection;
import java.util.Collection;
/**
*
* @author quique
*/
public interface Introspection {
T getProperty(I bean, String propName);
void setProperty(I bean, String propName, Object value);
Collection getPropertyNames();
}
PK
;7 : com/aquait/utils/gwt/rebind/IntrospectionGenerator$1.class 1
SourceFile IntrospectionGenerator.java EnclosingMethod 4com/aquait/utils/gwt/rebind/IntrospectionGenerator$1 InnerClasses java/lang/Object 2com/aquait/utils/gwt/rebind/IntrospectionGenerator
PK
;Y)E E K com/aquait/utils/gwt/rebind/IntrospectionGenerator$PropertyDescriptor.class 1 '
" # name Ljava/lang/String; getter *Lcom/google/gwt/core/ext/typeinfo/JMethod; setter this$0 4Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator; 7(Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator;)V Code LineNumberTable LocalVariableTable this PropertyDescriptor InnerClasses GLcom/aquait/utils/gwt/rebind/IntrospectionGenerator$PropertyDescriptor; $ m(Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator;Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator$1;)V x0 x1 6Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator$1;
SourceFile IntrospectionGenerator.java
% & Ecom/aquait/utils/gwt/rebind/IntrospectionGenerator$PropertyDescriptor java/lang/Object 4com/aquait/utils/gwt/rebind/IntrospectionGenerator$1 ()V 2com/aquait/utils/gwt/rebind/IntrospectionGenerator
4
*+ *
D *+ ! ! PK
; 8 com/aquait/utils/gwt/rebind/IntrospectionGenerator.class 1S
[
Z ! !
I !
I
D
F
Z
I
!
InnerClasses PropertyDescriptor ()V Code LineNumberTable LocalVariableTable this 4Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator; generate t(Lcom/google/gwt/core/ext/TreeLogger;Lcom/google/gwt/core/ext/GeneratorContext;Ljava/lang/String;)Ljava/lang/String; propertyDescriptor GLcom/aquait/utils/gwt/rebind/IntrospectionGenerator$PropertyDescriptor; i$ Ljava/util/Iterator; jType (Lcom/google/gwt/core/ext/typeinfo/JType; jPrimitiveType 1Lcom/google/gwt/core/ext/typeinfo/JPrimitiveType; getterSetter source )Lcom/google/gwt/user/rebind/SourceWriter; propertyDescriptors Ljava/util/List; classType -Lcom/google/gwt/core/ext/typeinfo/JClassType; packageName Ljava/lang/String;
simpleName simpleNameIntospection composer ;Lcom/google/gwt/user/rebind/ClassSourceFileComposerFactory; printWriter Ljava/io/PrintWriter; e 4Lcom/google/gwt/core/ext/typeinfo/NotFoundException; logger $Lcom/google/gwt/core/ext/TreeLogger; context *Lcom/google/gwt/core/ext/GeneratorContext; typeName LocalVariableTypeTable YLjava/util/List;
Exceptions findProperties ?(Lcom/google/gwt/core/ext/typeinfo/JClassType;)Ljava/util/List; pd setterMethod *Lcom/google/gwt/core/ext/typeinfo/JMethod;
getterName n I property getterMethod methods ; Signature (Lcom/google/gwt/core/ext/typeinfo/JClassType;)Ljava/util/List;
getAllMethods @(Ljava/util/List;Lcom/google/gwt/core/ext/typeinfo/JClassType;)V m arr$ +[Lcom/google/gwt/core/ext/typeinfo/JMethod; len$ ms superClassType l(Ljava/util/List;Lcom/google/gwt/core/ext/typeinfo/JClassType;)V
SourceFile IntrospectionGenerator.java ` a
java/lang/StringBuilder
Introspection 9com/google/gwt/user/rebind/ClassSourceFileComposerFactory ` java.util.Collection java.util.ArrayList 0com.aquait.utils.gwt.introspection.Introspection 1com.aquait.utils.gwt.introspection.Introspectable Introspection< . > !" a public Object getProperty( # introspectable, String property) {#$%&'()*+ Ecom/aquait/utils/gwt/rebind/IntrospectionGenerator$PropertyDescriptor if (property.equals(", y ")) { return introspectable.- ();# a. a } else / { -throw new IllegalArgumentException(property); } public void setProperty( 1 introspectable, String property, Object value) {0 123
4567 introspectable. ((89 )value);: 0private Collection propertyNames = null; .public Collection getPropertyNames() { if (propertyNames == null) { (propertyNames = new ArrayList(); propertyNames.add(" "); return propertyNames;;<= 2com/google/gwt/core/ext/typeinfo/NotFoundException> a java/util/ArrayList (com/google/gwt/core/ext/typeinfo/JMethod get?@A isB4C pDEFGH set `IJKLGMNFOPQR 2com/aquait/utils/gwt/rebind/IntrospectionGenerator !com/google/gwt/core/ext/Generator 4com/aquait/utils/gwt/rebind/IntrospectionGenerator$1 1com/google/gwt/core/ext/UnableToCompleteException (com/google/gwt/core/ext/GeneratorContext
getTypeOracle /()Lcom/google/gwt/core/ext/typeinfo/TypeOracle; +com/google/gwt/core/ext/typeinfo/TypeOracle getType A(Ljava/lang/String;)Lcom/google/gwt/core/ext/typeinfo/JClassType; +com/google/gwt/core/ext/typeinfo/JClassType
getPackage -()Lcom/google/gwt/core/ext/typeinfo/JPackage; )com/google/gwt/core/ext/typeinfo/JPackage getName ()Ljava/lang/String; getSimpleSourceName append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString '(Ljava/lang/String;Ljava/lang/String;)V addImport (Ljava/lang/String;)V addImplementedInterface tryCreate _(Lcom/google/gwt/core/ext/TreeLogger;Ljava/lang/String;Ljava/lang/String;)Ljava/io/PrintWriter; createSourceWriter j(Lcom/google/gwt/core/ext/GeneratorContext;Ljava/io/PrintWriter;)Lcom/google/gwt/user/rebind/SourceWriter; 'com/google/gwt/user/rebind/SourceWriter indent println java/util/List iterator ()Ljava/util/Iterator; java/util/Iterator hasNext ()Z next ()Ljava/lang/Object; name getter outdent print setter
getParameters 0()[Lcom/google/gwt/core/ext/typeinfo/JParameter; +com/google/gwt/core/ext/typeinfo/JParameter *()Lcom/google/gwt/core/ext/typeinfo/JType; &com/google/gwt/core/ext/typeinfo/JType isPrimitive 3()Lcom/google/gwt/core/ext/typeinfo/JPrimitiveType; /com/google/gwt/core/ext/typeinfo/JPrimitiveType getQualifiedBoxedSourceName getQualifiedSourceName commit '(Lcom/google/gwt/core/ext/TreeLogger;)V #getParameterizedQualifiedSourceName printStackTrace java/lang/String
startsWith (Ljava/lang/String;)Z
getReturnType BOOLEAN java/lang/Object equals (Ljava/lang/Object;)Z substring (I)Ljava/lang/String; m(Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator;Lcom/aquait/utils/gwt/rebind/IntrospectionGenerator$1;)V length ()I toLowerCase (II)Ljava/lang/String; add
getMethods -()[Lcom/google/gwt/core/ext/typeinfo/JMethod;
getSuperclass /()Lcom/google/gwt/core/ext/typeinfo/JClassType; ! Z [ ` a b 3 * c
d e f g h b , - : : : Y
: Y
: Y ,+ : !, :
* :
Y
: y !:
Y "
# $
Y %
&