Schnittstelle IDependent

Alle bekannten Unterschnittstellen:
IBinaryType, ICompilationUnit, IGenericType, ISourceType
Alle bekannten Implementierungsklassen:
AssistCompilationUnit, BasicCompilationUnit, ClassFileReader, ClassFileWorkingCopy, CodeSnippetSkeleton, CompactTypeStructureRepresentation, CompilationUnit, CompilationUnit, CompilationUnit, ExternalAnnotationDecorator, HierarchyBinaryType, HierarchyType, 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.
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static final char
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    char[]
    Answer the file name which defines the type.
  • Felddetails

    • JAR_FILE_ENTRY_SEPARATOR

      static final char JAR_FILE_ENTRY_SEPARATOR
      Siehe auch:
  • Methodendetails

    • 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/eclipse/jdt/internal/compileri/env/IDependent.java" Return null if no file defines the type.