File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed
src/net/sf/j2s/core/astvisitors Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,12 @@ protected void checkSuperType(Set set) {
127
127
128
128
129
129
protected void remedyReflectionDependency (Set set ) {
130
+ String [] classNames = getClassNames ();
131
+ for (int i = 0 ; i < classNames .length ; i ++) {
132
+ if ("net.sf.j2s.ajax.ASWTClass" .equals (classNames [i ])) {
133
+ return ;
134
+ }
135
+ }
130
136
boolean needRemedy = false ;;
131
137
for (Iterator iterator = set .iterator (); iterator .hasNext ();) {
132
138
Object next = iterator .next ();
@@ -888,7 +894,32 @@ public void setToCompileVariableName(boolean toCompileVariableName) {
888
894
889
895
public boolean visit (MethodDeclaration node ) {
890
896
IMethodBinding mBinding = node .resolveBinding ();
897
+ boolean toBeIgnored = false ;
891
898
if (Bindings .isMethodInvoking (mBinding , "net.sf.j2s.ajax.SimpleRPCRunnable" , "ajaxRun" )) {
899
+ toBeIgnored = true ;
900
+ }
901
+ if (!toBeIgnored ) {
902
+ String [] pipeMethods = new String [] {
903
+ "pipeSetup" ,
904
+ "pipeThrough" ,
905
+ "through" ,
906
+ "pipeMonitoring" ,
907
+ "pipeMonitoringInterval" ,
908
+ "setPipeHelper"
909
+ };
910
+ for (int i = 0 ; i < pipeMethods .length ; i ++) {
911
+ if (Bindings .isMethodInvoking (mBinding , "net.sf.j2s.ajax.SimplePipeRunnable" , pipeMethods [i ])) {
912
+ toBeIgnored = true ;
913
+ break ;
914
+ }
915
+ }
916
+ }
917
+ if (!toBeIgnored ) {
918
+ if (Bindings .isMethodInvoking (mBinding , "net.sf.j2s.ajax.CompoundPipeSession" , "convert" )) {
919
+ toBeIgnored = true ;
920
+ }
921
+ }
922
+ if (toBeIgnored ) {
892
923
boolean toKeep = false ;
893
924
Javadoc javadoc = node .getJavadoc ();
894
925
if (javadoc != null ) {
You can’t perform that action at this time.
0 commit comments