org.eclipse.jdt.internal.compiler.env
Interface ISourceType

All Superinterfaces:
IDependent, IGenericType

public interface ISourceType
extends IGenericType


Field Summary
 
Fields inherited from interface org.eclipse.jdt.internal.compiler.env.IDependent
JAR_FILE_ENTRY_SEPARATOR
 
Method Summary
 int getDeclarationSourceEnd()
          Answer the source end position of the type's declaration.
 int getDeclarationSourceStart()
          Answer the source start position of the type's declaration.
 ISourceType getEnclosingType()
          Answer the enclosing type or null if the receiver is a top level type.
 ISourceField[] getFields()
          Answer the receiver's fields.
 char[][] getInterfaceNames()
          Answer the unresolved names of the receiver's interfaces or null if the array is empty.
 ISourceType[] getMemberTypes()
          Answer the receiver's member types.
 ISourceMethod[] getMethods()
          Answer the receiver's methods.
 char[] getName()
          Answer the simple source name of the receiver.
 int getNameSourceEnd()
          Answer the source end position of the type's name.
 int getNameSourceStart()
          Answer the source start position of the type's name.
 char[] getSuperclassName()
          Answer the unresolved name of the receiver's superclass or null if it does not have one.
 char[][][] getTypeParameterBounds()
          Answer the array of bound names of the receiver's type parameters.
 char[][] getTypeParameterNames()
          Answer the names of the receiver's type parameters.
 
Methods inherited from interface org.eclipse.jdt.internal.compiler.env.IGenericType
getModifiers, isBinaryType
 
Methods inherited from interface org.eclipse.jdt.internal.compiler.env.IDependent
getFileName
 

Method Detail

getDeclarationSourceEnd

int getDeclarationSourceEnd()
Answer the source end position of the type's declaration.


getDeclarationSourceStart

int getDeclarationSourceStart()
Answer the source start position of the type's declaration.


getEnclosingType

ISourceType getEnclosingType()
Answer the enclosing type or null if the receiver is a top level type.


getFields

ISourceField[] getFields()
Answer the receiver's fields. NOTE: Multiple fields with the same name can exist in the result.


getInterfaceNames

char[][] getInterfaceNames()
Answer the unresolved names of the receiver's interfaces or null if the array is empty. A name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.


getMemberTypes

ISourceType[] getMemberTypes()
Answer the receiver's member types.


getMethods

ISourceMethod[] getMethods()
Answer the receiver's methods. NOTE: Multiple methods with the same name & parameter types can exist in the result.


getName

char[] getName()
Answer the simple source name of the receiver.


getNameSourceEnd

int getNameSourceEnd()
Answer the source end position of the type's name.


getNameSourceStart

int getNameSourceStart()
Answer the source start position of the type's name.


getSuperclassName

char[] getSuperclassName()
Answer the unresolved name of the receiver's superclass or null if it does not have one. The name is a simple name or a qualified, dot separated name. For example, Hashtable or java.util.Hashtable.


getTypeParameterBounds

char[][][] getTypeParameterBounds()
Answer the array of bound names of the receiver's type parameters.


getTypeParameterNames

char[][] getTypeParameterNames()
Answer the names of the receiver's type parameters.



Copyright © 2012. All Rights Reserved.