Class LintExtension


  • public class LintExtension
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String classpathExclusionRegex
      Classpath entries matching regex to exclude during lint
      boolean disabled
      Set to true to disable generation of lint rules
      java.lang.String jvmArgs
      JVM arguments when invoking lint
      boolean useCompilationClasspath
      Whether to pass in the bytecode of the target being linted as an input to the lint classpath.
      java.lang.String version
      Lint jar version
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • version

        @Nullable
        public java.lang.String version
        Lint jar version
      • disabled

        public boolean disabled
        Set to true to disable generation of lint rules
      • jvmArgs

        public java.lang.String jvmArgs
        JVM arguments when invoking lint
      • classpathExclusionRegex

        @Nullable
        public java.lang.String classpathExclusionRegex
        Classpath entries matching regex to exclude during lint
      • useCompilationClasspath

        public boolean useCompilationClasspath
        Whether to pass in the bytecode of the target being linted as an input to the lint classpath. This is typically only useful if someone wants to run lint on generated code