类 SourceFolderLibrary

所有已实现的接口:
ClassLibrary, Serializable

public class SourceFolderLibrary extends SourceLibrary
从以下版本开始:
2.0
作者:
Robert Scholte
另请参阅:
  • 构造器详细资料

  • 方法详细资料

    • addSourceFolder

      public JavaModule addSourceFolder(File sourceFolder)
    • getJavaModules

      public Collection<JavaModule> getJavaModules()
      指定者:
      getJavaModules 在接口中 ClassLibrary
      覆盖:
      getJavaModules 在类中 AbstractClassLibrary
    • resolveJavaClass

      protected JavaClass resolveJavaClass(String className)
      从类复制的说明: AbstractClassLibrary
      The implementation should check it's sources to see if it can build a JavaClass Model If not, just return null; Once found it will be mapped, so there's no need to keep a reference to this object.
      覆盖:
      resolveJavaClass 在类中 SourceLibrary
      参数:
      className - the fully qualified name
      返回:
      the resolved JavaClass, otherwise null
    • containsClassReference

      protected boolean containsClassReference(String className)
      Loops over the sourceFolder to find a classReference. It will try to map the className to a file.
      覆盖:
      containsClassReference 在类中 SourceLibrary
      参数:
      className - the fully qualified name of the class
      返回:
      true if this ClassLibrary has a reference to this class.