Package jminusminus
Interface JTypeDecl
- All Known Implementing Classes:
- JClassDeclaration,- JInterfaceDeclaration
interface JTypeDecl
An interface supported by class (or later, interface) declarations.
- 
Method SummaryModifier and TypeMethodDescriptionvoiddeclareThisType(Context context) Declares this type in the parent context.name()Returns the name of this type declaration.voidpreAnalyze(Context context) Pre-analyzes the members of this declaration in the parent context.Returns the types of the implemented interfaces for a class or extended interfaces for an interface.Returns the type of the extended class for a class or java.lang.Object for an interface.thisType()Returns the type that this type declaration defines.
- 
Method Details- 
declareThisTypeDeclares this type in the parent context. Called before pre-analysis so that it is available in the preAnalyze() method of other types.- Parameters:
- context- the parent (compilation unit) context.
 
- 
preAnalyzePre-analyzes the members of this declaration in the parent context.- Parameters:
- context- the parent (compilation unit) context.
 
- 
nameString name()Returns the name of this type declaration.- Returns:
- the name of this type declaration.
 
- 
thisTypeType thisType()Returns the type that this type declaration defines.- Returns:
- the type defined by this type declaration.
 
- 
superTypeType superType()Returns the type of the extended class for a class or java.lang.Object for an interface.- Returns:
- the type of the extended class for a class or java.lang.Object for an interface.
 
- 
superInterfacesReturns the types of the implemented interfaces for a class or extended interfaces for an interface.- Returns:
- the types of the implemented interfaces for a class or extended interfaces for an interface.
 
 
-