technomancy/leiningen — Issue #294: Reflection warnings in leiningen source code
Author: markokocic
Created: 2011-10-14 09:07:10+00:00
State: open

I just added :warn-on-reflection true to leins own project.clj and did lein compile :all.
Here's the list of reflection warnings:

lancet.clj:118 - reference to field getTaskDefinitions can't be resolved.
lancet.clj:118 - reference to field keySet can't be resolved.
lancet.clj:129 - reference to field execute can't be resolved.
lancet.clj:25 - call to java.io.File ctor can't be resolved.
lancet.clj:27 - reference to field toLowerCase can't be resolved.
lancet.clj:36 - call to split can't be resolved.
lancet.clj:40 - reference to field getName can't be resolved.
lancet.clj:45 - reference to field getParameterTypes can't be resolved.
lancet.clj:51 - reference to field getWriteMethod can't be resolved.
lancet.clj:53 - call to invoke can't be resolved.
lancet.clj:59 - call to createTask can't be resolved.
lancet.clj:62 - call to setProject can't be resolved.
lancet.clj:62 - reference to field init can't be resolved.
lancet.clj:67 - call to addFileset can't be resolved.
leiningen/classpath.clj:34 - reference to field getName can't be resolved.
leiningen/classpath.clj:35 - reference to field getAbsolutePath can't be resolved.
leiningen/clean.clj:9 - reference to field getName can't be resolved.
leiningen/compile.clj:152 - call to read can't be resolved.
leiningen/compile.clj:154 - call to write can't be resolved.
leiningen/compile.clj:155 - reference to field flush can't be resolved.
leiningen/compile.clj:157 - call to read can't be resolved.
leiningen/compile.clj:161 - call to exec can't be resolved.
leiningen/compile.clj:162 - reference to field getInputStream can't be resolved.
leiningen/compile.clj:163 - reference to field getErrorStream can't be resolved.
leiningen/compile.clj:168 - reference to field waitFor can't be resolved.
leiningen/compile.clj:194 - call to replace can't be resolved.
leiningen/compile.clj:194 - reference to field getParent can't be resolved.
leiningen/compile.clj:201 - call to replace can't be resolved.
leiningen/compile.clj:201 - reference to field getParent can't be resolved.
leiningen/compile.clj:209 - reference to field getAbsolutePath can't be resolved.
leiningen/compile.clj:226 - reference to field isFile can't be resolved.
leiningen/compile.clj:229 - reference to field delete can't be resolved.
leiningen/compile.clj:61 - call to replace can't be resolved.
leiningen/compile.clj:91 - reference to field exists can't be resolved.
leiningen/core.clj:13 - reference to field getName can't be resolved.
leiningen/core.clj:279 - call to endsWith can't be resolved.
leiningen/core.clj:314 - call to java.io.File ctor can't be resolved.
leiningen/core.clj:36 - call to java.io.File ctor can't be resolved.
leiningen/core.clj:67 - call to java.io.File ctor can't be resolved.
leiningen/deploy.clj:15 - call to org.apache.maven.project.MavenProject ctor can't be resolved.
leiningen/deps.clj:108 - reference to field getBytes can't be resolved.
leiningen/deps.clj:115 - call to java.io.File ctor can't be resolved.
leiningen/deps.clj:123 - call to java.io.File ctor can't be resolved.
leiningen/deps.clj:125 - reference to field exists can't be resolved.
leiningen/deps.clj:131 - reference to field execute can't be resolved.
leiningen/deps.clj:134 - call to java.io.File ctor can't be resolved.
leiningen/deps.clj:142 - call to getReference can't be resolved.
leiningen/deps.clj:143 - reference to field getFilesetId can't be resolved.
leiningen/deps.clj:144 - call to getReference can't be resolved.
leiningen/deps.clj:144 - reference to field getFilesetId can't be resolved.
leiningen/deps.clj:148 - call to getDirectoryScanner can't be resolved.
leiningen/deps.clj:149 - reference to field getIncludedFiles can't be resolved.
leiningen/deps.clj:165 - call to endsWith can't be resolved.
leiningen/deps.clj:165 - reference to field getName can't be resolved.
leiningen/deps.clj:174 - call to java.util.jar.JarFile ctor can't be resolved.
leiningen/deps.clj:175 - reference to field entries can't be resolved.
leiningen/deps.clj:176 - call to startsWith can't be resolved.
leiningen/deps.clj:176 - reference to field getName can't be resolved.
leiningen/deps.clj:177 - reference to field getName can't be resolved.
leiningen/deps.clj:179 - reference to field isDirectory can't be resolved.
leiningen/deps.clj:181 - call to getInputStream can't be resolved.
leiningen/deps.clj:34 - call to addSnapshots can't be resolved.
leiningen/deps.clj:35 - call to addReleases can't be resolved.
leiningen/deps.clj:63 - reference to field execute can't be resolved.
leiningen/deps.clj:73 - reference to field getIncludedFiles can't be resolved.
leiningen/deps.clj:74 - call to getDirectoryScanner can't be resolved.
leiningen/deps.clj:75 - reference to field getDir can't be resolved.
leiningen/deps.clj:82 - call to java.io.File ctor can't be resolved.
leiningen/deps.clj:97 - call to setBasedir can't be resolved.
leiningen/help.clj:77 - call to split can't be resolved.
leiningen/install.clj:22 - reference to field getManifest can't be resolved.
leiningen/install.clj:28 - call to split can't be resolved.
leiningen/install.clj:29 - call to getEntry can't be resolved.
leiningen/install.clj:32 - call to getInputStream can't be resolved.
leiningen/install.clj:36 - call to lookup can't be resolved.
leiningen/install.clj:36 - call to resolveAlways can't be resolved.
leiningen/install.clj:52 - call to lookup can't be resolved.
leiningen/install.clj:56 - reference to field getPackaging can't be resolved.
leiningen/install.clj:59 - call to install can't be resolved.
leiningen/install.clj:65 - call to replace can't be resolved.
leiningen/install.clj:66 - call to java.util.jar.JarFile ctor can't be resolved.
leiningen/interactive.clj:18 - call to read can't be resolved.
leiningen/interactive.clj:20 - call to write can't be resolved.
leiningen/interactive.clj:22 - reference to field isClosed can't be resolved.
leiningen/interactive.clj:28 - call to write can't be resolved.
leiningen/interactive.clj:31 - reference to field flush can't be resolved.
leiningen/interactive.clj:37 - reference to field close can't be resolved.
leiningen/interactive.clj:38 - reference to field close can't be resolved.
leiningen/interactive.clj:46 - reference to field readLine can't be resolved.
leiningen/interactive.clj:53 - reference to field read can't be resolved.
leiningen/interactive.clj:57 - reference to field readLine can't be resolved.
leiningen/jar.clj:101 - reference to field getMainAttributes can't be resolved.
leiningen/jar.clj:105 - reference to field isDirectory can't be resolved.
leiningen/jar.clj:106 - reference to field getName can't be resolved.
leiningen/jar.clj:107 - reference to field getName can't be resolved.
leiningen/jar.clj:113 - call to replaceAll can't be resolved.
leiningen/jar.clj:124 - call to java.util.jar.JarEntry ctor can't be resolved.
leiningen/jar.clj:124 - call to putNextEntry can't be resolved.
leiningen/jar.clj:125 - reference to field lastModified can't be resolved.
leiningen/jar.clj:130 - call to java.util.jar.JarEntry ctor can't be resolved.
leiningen/jar.clj:130 - call to putNextEntry can't be resolved.
leiningen/jar.clj:136 - call to java.io.FileOutputStream ctor can't be resolved.
leiningen/jar.clj:187 - call to java.util.jar.JarFile ctor can't be resolved.
leiningen/jar.clj:188 - reference to field entries can't be resolved.
leiningen/jar.clj:189 - reference to field getName can't be resolved.
leiningen/jar.clj:190 - reference to field isDirectory can't be resolved.
leiningen/jar.clj:192 - reference to field getParentFile can't be resolved.
leiningen/jar.clj:192 - reference to field mkdirs can't be resolved.
leiningen/jar.clj:193 - call to getInputStream can't be resolved.
leiningen/jar.clj:26 - call to replace can't be resolved.
leiningen/jar.clj:29 - call to replace can't be resolved.
leiningen/jar.clj:37 - call to replace can't be resolved.
leiningen/jar.clj:42 - call to getDirectoryScanner can't be resolved.
leiningen/jar.clj:43 - reference to field getIncludedFiles can't be resolved.
leiningen/jar.clj:51 - call to replace can't be resolved.
leiningen/jar.clj:77 - reference to field getBytes can't be resolved.
leiningen/jar.clj:80 - reference to field getBytes can't be resolved.
leiningen/jar.clj:90 - reference to field getBytes can't be resolved.
leiningen/plugin.clj:33 - reference to field mkdirs can't be resolved.
leiningen/plugin.clj:37 - call to replace can't be resolved.
leiningen/plugin.clj:47 - call to endsWith can't be resolved.
leiningen/plugin.clj:47 - reference to field getName can't be resolved.
leiningen/pom.clj:35 - call to org.apache.maven.project.MavenProject ctor can't be resolved.
leiningen/pom.clj:37 - call to write can't be resolved.
leiningen/repl.clj:102 - reference to field getInputStream can't be resolved.
leiningen/repl.clj:103 - reference to field getOutputStream can't be resolved.
leiningen/repl.clj:111 - call to java.net.Socket ctor can't be resolved.
leiningen/repl.clj:120 - call to java.lang.Integer ctor can't be resolved.
leiningen/repl.clj:87 - call to read can't be resolved.
leiningen/repl.clj:87 - call to write can't be resolved.
leiningen/repl.clj:97 - call to write can't be resolved.
leiningen/repl.clj:98 - reference to field flush can't be resolved.
leiningen/search.clj:14 - call to java.util.zip.ZipFile ctor can't be resolved.
leiningen/search.clj:16 - reference to field getName can't be resolved.
leiningen/search.clj:17 - reference to field isDirectory can't be resolved.
leiningen/search.clj:19 - reference to field getParentFile can't be resolved.
leiningen/search.clj:19 - reference to field mkdirs can't be resolved.
leiningen/search.clj:29 - reference to field close can't be resolved.
leiningen/search.clj:29 - reference to field openStream can't be resolved.
leiningen/search.clj:37 - reference to field exists can't be resolved.
leiningen/search.clj:52 - reference to field getAbsolutePath can't be resolved.
leiningen/search.clj:62 - call to split can't be resolved.
leiningen/search.clj:98 - call to java.lang.Integer ctor can't be resolved.
leiningen/uberjar.clj:14 - call to getEntry can't be resolved.
leiningen/uberjar.clj:15 - call to getInputStream can't be resolved.
leiningen/uberjar.clj:31 - reference to field entries can't be resolved.
leiningen/uberjar.clj:32 - reference to field getName can't be resolved.
leiningen/uberjar.clj:35 - call to setCompressedSize can't be resolved.
leiningen/uberjar.clj:36 - call to putNextEntry can't be resolved.
leiningen/uberjar.clj:37 - call to getInputStream can't be resolved.
leiningen/uberjar.clj:38 - reference to field closeEntry can't be resolved.
leiningen/uberjar.clj:39 - reference to field getName can't be resolved.
leiningen/uberjar.clj:45 - reference to field getName can't be resolved.
leiningen/uberjar.clj:46 - call to java.util.zip.ZipFile ctor can't be resolved.
leiningen/uberjar.clj:58 - call to putNextEntry can't be resolved.
leiningen/uberjar.clj:59 - call to java.io.PrintWriter ctor can't be resolved.
leiningen/uberjar.clj:66 - reference to field closeEntry can't be resolved.
leiningen/uberjar.clj:84 - call to java.io.FileOutputStream ctor can't be resolved.
leiningen/uberjar.clj:87 - call to endsWith can't be resolved.
leiningen/uberjar.clj:87 - reference to field getName can't be resolved.
leiningen/util/maven.clj:18 - reference to field getContainer can't be resolved.
leiningen/util/maven.clj:208 - call to replace can't be resolved.
leiningen/util/maven.clj:21 - call to lookup can't be resolved.
leiningen/util/maven.clj:29 - call to lookup can't be resolved.
leiningen/util/maven.clj:29 - reference to field buildSettings can't be resolved.
leiningen/util/maven.clj:33 - reference to field getLocalRepository can't be resolved.
leiningen/util/maven.clj:36 - call to startsWith can't be resolved.
leiningen/util/maven.clj:39 - call to lookup can't be resolved.
leiningen/util/maven.clj:40 - call to createDeploymentArtifactRepository can't be resolved.
leiningen/util/maven.clj:45 - call to lookup can't be resolved.
leiningen/util/maven.clj:46 - call to createArtifactRepository can't be resolved.
leiningen/util/maven.clj:51 - call to addMetadata can't be resolved.
leiningen/util/maven.clj:54 - call to createArtifactWithClassifier can't be resolved.
leiningen/util/maven.clj:55 - call to lookup can't be resolved.
leiningen/util/maven.clj:56 - reference to field getGroupId can't be resolved.
leiningen/util/maven.clj:57 - reference to field getArtifactId can't be resolved.
leiningen/util/maven.clj:58 - reference to field getVersion can't be resolved.
leiningen/util/maven.clj:59 - reference to field getPackaging can't be resolved.
leiningen/util/maven.clj:63 - call to createArtifact can't be resolved.
leiningen/util/maven.clj:64 - call to lookup can't be resolved.
leiningen/util/maven.clj:73 - reference to field trim can't be resolved.
leiningen/util/maven.clj:78 - reference to field trim can't be resolved.
leiningen/util/maven.clj:87 - reference to field trim can't be resolved.
leiningen/util/maven.clj:90 - call to startsWith can't be resolved.
leiningen/util/ns.clj:20 - call to endsWith can't be resolved.
leiningen/util/ns.clj:20 - reference to field getName can't be resolved.
leiningen/util/ns.clj:23 - call to endsWith can't be resolved.
leiningen/util/ns.clj:23 - reference to field getName can't be resolved.
leiningen/util/ns.clj:23 - reference to field isFile can't be resolved.
leiningen/util/ns.clj:47 - call to getEntry can't be resolved.
leiningen/util/ns.clj:47 - call to getInputStream can't be resolved.
leiningen/util/ns.clj:47 - reference to field getName can't be resolved.
leiningen/util/ns.clj:54 - call to java.util.jar.JarFile ctor can't be resolved.
leiningen/util/ns.clj:56 - reference to field isDirectory can't be resolved.
leiningen/util/ns.clj:64 - reference to field isDirectory can't be resolved.
leiningen/util/ns.clj:65 - call to replaceAll can't be resolved.
leiningen/util/paths.clj:54 - call to replace can't be resolved.
leiningen/util/paths.clj:54 - call to replaceAll can't be resolved.