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

所有超级接口:
IDependent
所有已知实现类:
CompilationUnit

public interface ICompilationUnit
extends IDependent

This interface denotes a compilation unit, providing its name and content.


字段摘要
 
从接口 org.eclipse.jdt.internal.compiler.env.IDependent 继承的字段
JAR_FILE_ENTRY_SEPARATOR
 
方法摘要
 char[] getContents()
          Answer the contents of the compilation unit.
 char[] getMainTypeName()
          Answer the name of the top level public type.
 char[][] getPackageName()
          Answer the name of the package according to the directory structure or null if package consistency checks should be ignored.
 
从接口 org.eclipse.jdt.internal.compiler.env.IDependent 继承的方法
getFileName
 

方法详细信息

getContents

char[] getContents()
Answer the contents of the compilation unit. In normal use, the contents are requested twice. Once during the initial lite parsing step, then again for the more detailed parsing step. Implementors must never return null - return an empty char[] instead, CharOperation.NO_CHAR being the candidate of choice.


getMainTypeName

char[] getMainTypeName()
Answer the name of the top level public type. For example, {Hashtable}.


getPackageName

char[][] getPackageName()
Answer the name of the package according to the directory structure or null if package consistency checks should be ignored. For example, {java, lang}.



Copyright © 2013. All Rights Reserved.