org.eclipse.jdt.internal.compiler.env
接口 IDependent

所有已知子接口:
IBinaryType, ICompilationUnit, IGenericType, ISourceType
所有已知实现类:
ClassFileReader, CompilationUnit

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.


字段摘要
static char JAR_FILE_ENTRY_SEPARATOR
           
 
方法摘要
 char[] getFileName()
          Answer the file name which defines the type.
 

字段详细信息

JAR_FILE_ENTRY_SEPARATOR

static final char JAR_FILE_ENTRY_SEPARATOR
另请参见:
常量字段值
方法详细信息

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.



Copyright © 2013. All Rights Reserved.