build.Java9Task.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jt400-jdk8 Show documentation
Show all versions of jt400-jdk8 Show documentation
The Open Source version of the IBM Toolbox for Java
???? .? Java9Task *org/apache/tools/ant/taskdefs/MatchingTask copyright Ljava/lang/String;
ConstantValue OCopyright (C) 2009-2019 International Business Machines Corporation and others. verbose_ Z destDir_ Ljava/io/File; srcDir_ sourcelist_ numFilesProcessed_ I
STATE_NONE
STATE_IFDEF40
STATE_IFDEF42 STATE_IFNDEF40 STATE_IFNDEF42 STATE_IFDEF9
STATE_IFNDEF9
FOUND_NONE
FOUND_IFDEF42
FOUND_IFDEF40 FOUND_IFNDEF42 FOUND_IFNDEF40 FOUND_ENDIF
FOUND_COMMENT FOUND_JDBC42DOC FOUND_JDBC40DOC FOUND_IFDEF9
FOUND_IFNDEF9
FOUND_ENDIF9 FOUND_JAVA9DOC ()V Code
7 3 4 9 LineNumberTable LocalVariableTable this LJava9Task;
setSourcelist (Ljava/io/File;)V A
sourcelist
setDestdir E
destDir setSrcdir I
srcDir
setVerbose (Z)V N
verbose execute
Exceptions S #org/apache/tools/ant/BuildException U java/util/ArrayList
T 7 X java/io/BufferedReader Z java/io/FileReader
Y \ 3 ?
W ^ 3 _ (Ljava/io/Reader;)V
W a b c readLine ()Ljava/lang/String;
e g f java/lang/String h c trim
e j k l length ()I
e n o p charAt (I)C
T r s t add (Ljava/lang/Object;)Z v x w java/lang/System y z out Ljava/io/PrintStream; | java/lang/StringBuffer ~ Error (
{ ? 3 ? (Ljava/lang/String;)V
{ ? ? ? append ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; ?
) processing
{ ? ? ? ,(Ljava/lang/String;)Ljava/lang/StringBuffer;
{ ? ? c toString
? ? ? java/io/PrintStream ? ? println
? ? ? java/lang/Exception ? ? printStackTrace (Ljava/io/PrintStream;)V
R ?
R ? ? ? initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable;
T ? ? l size
T ? ? ? get (I)Ljava/lang/Object; ? Processing ? .java
e ? ? ? indexOf (Ljava/lang/String;)I
? ? ? createJava9File
R ? ? Number of files processed:
{ ? ? ? (I)Ljava/lang/StringBuffer;
lastException %Lorg/apache/tools/ant/BuildException; list Ljava/util/ArrayList; reader Ljava/io/BufferedReader; line e Ljava/lang/Exception; be
destFileNames [Ljava/lang/String; i filename getLineType ((Ljava/lang/String;Ljava/lang/String;I)I ? /*
e ? ? ? substring (I)Ljava/lang/String; ? ifdef ? JDBC40 ? Warning. Incorrect ifdef line ' ? ' at ? : ? JDBC42 ? JAVA9 ? ifndef ? */ ? !Warning. Incorrect ifndef line ' ? endif ? +Warning. Invalid /* endif */ structure: ' ? 'Warning. Invalid endif */ structure: ' ? 'Warning. Invalid endif... structure: ' ? // ? JDBC40DOC ? JDBC42DOC ? JAVA9DOC ? +Warning. Invalid JDBC40DOC after // line ' ? +Warning. Invalid JDBC42DOC after // line ' ? *Warning. Invalid JAVA9DOC after // line ' ? "Warning. Invalid JDBC40DOC line ' ? "Warning. Invalid JDBC42DOC line ' ? !Warning. Invalid JAVA9DOC line '
lineNumber originalLine typeCode
v currentTimeMillis ()J java/io/File
{ 7 /
?
getParentFile ()Ljava/io/File;
exists ()Z Creating
c getAbsolutePath because it does not exist
mkdirs java/io/PrintWriter java/io/FileWriter
\
! 3" (Ljava/io/Writer;)V
$ ? ?& /* ifdef JDBC40 */( /* ifdef JDBC42 */* /* ifndef JDBC40 , /* ifndef JDBC42 . /* ifdef JAVA9 */0 // ifndef JAVA9
234 removeJdbc40Doc &(Ljava/lang/String;)Ljava/lang/String;
67 4 close9 FOUND INVALID ENDIF:; '= ' AT
? ?@ 0FOUND INVALID IFDEF (currently processing IFDEF:B ) 'D *FOUND ENDIF 9 (currently processing IFDEF:F >FOUND INVALID IFDEF (invalid nest: currently processing IFDEF:H /* endif */ J !WARNING: found comment in line 'L ' processing IFDEF:N 1FOUND INVALID IFDEF (currently processing IFDEF9:P 1FOUND INVALID ENDIF (currently processing IFDEF9:R 1FOUND INVALID IFDEF (currently processing IFNDEF:T 2FOUND INVALID ENDIF9 (currently processing IFNDEF:V
endif */ X ' processing IFNDEF:Z #WARNING: found JDBC40DOC in line '\ 3FOUND INVALID IFDEF9 (currently processing IFNDEF9:^ // End of IFNDEF 9 ` // IFNDEF JAVA9 removed line
?c Processed. Time:
{e ?f (J)Ljava/lang/StringBuffer;h msj #CharConversionException processing l line :
npo java/io/CharConversionException ? 4
nrst getCause ()Ljava/lang/Throwable;v (----------caused by --------------------
xpy java/lang/Throwable
xr
R| 3} (Ljava/lang/Throwable;)V Exception processing
?p start J inputFile
outputFile outputParent writer Ljava/io/PrintWriter; parentState state linetype stateChangeLineNumber end !Ljava/io/CharConversionException; cause Ljava/lang/Throwable;? @WARNING: did not find JDBC40DOC when processing removeJdbc40Doc index
SourceFile Java9Task.java !
! " # $ % &