All Known Subinterfaces:
IBinaryType, ICompilationUnit, IGenericType, ISourceType
All Known Implementing Classes:
AssistCompilationUnit, BasicCompilationUnit, ClassFileReader, ClassFileWorkingCopy, CodeSnippetSkeleton, CompactTypeStructureRepresentation, CompilationUnit, CompilationUnit, CompilationUnit, ExternalAnnotationDecorator, HierarchyBinaryType, HierarchyType, IndexBinaryType, PossibleMatch, ResourceCompilationUnit, SourceFile, SourceTypeElementInfo

public interface IDependent
This represents the target file of a type dependency. All implementors of this interface are containers for types or types themselves which must be able to identify their source file name when file dependencies are collected.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static char
     
  • Method Summary

    Modifier and Type
    Method
    Description
    char[]
    Answer the file name which defines the type.
  • Field Details

  • Method Details

    • getFileName

      char[] getFileName()
      Answer the file name which defines the type. The path part (optional) must be separated from the actual file proper name by a separator suitable for the type (java.io.File.separator for example), e.g. "c:\\source\\com\\p\\X.java" or "/com/p/Y.java". The path to the zip or jar file (optional) must be separated from the actual path part by JAR_FILE_ENTRY_SEPARATOR, e.g. "c:\\lib\\some.jar|/com/p/X.class" or "/lib/some.zip|/com/q/Y.class". The proper file name includes the suffix extension (e.g. ".java") e.g. "c:/org/aspectj/org/eclipse/jdt/internal/compileri/env/IDependent.java" Return null if no file defines the type.