类 SourceSetFormatContext

java.lang.Object
com.palantir.javaformat.java.SourceSetFormatContext
所有已实现的接口:
Serializable

public final class SourceSetFormatContext extends Object implements Serializable
Compile context for a source set that can be used by type-aware formatting.
另请参阅:
  • 方法详细资料

    • create

      public static SourceSetFormatContext create(String name, List<String> pathGlobs, List<String> sourceRoots, String classpathManifest)
    • getName

      public String getName()
    • getPathGlobs

      public com.google.common.collect.ImmutableList<String> getPathGlobs()
    • getSourceRoots

      public com.google.common.collect.ImmutableList<String> getSourceRoots()
    • getClasspathManifest

      public String getClasspathManifest()
    • getClasspathEntries

      public Optional<com.google.common.collect.ImmutableList<String>> getClasspathEntries()
    • withClasspathEntries

      public SourceSetFormatContext withClasspathEntries(List<String> entries)
    • getRelease

      public OptionalInt getRelease()
    • matchesPath

      public boolean matchesPath(String sourcePath)
    • equals

      public boolean equals(Object other)
      覆盖:
      equals 在类中 Object
    • hashCode

      public int hashCode()
      覆盖:
      hashCode 在类中 Object