interface JTypeDecl
Modifier and Type | Method and Description |
---|---|
void |
declareThisType(Context context)
Even before preAnalyze(), declare this type in the parent context so that
it is available in the preAnalyze() of other types.
|
String |
name()
Return the name of this type declaration.
|
void |
preAnalyze(Context context)
Pre-analyze the members of this declaration in the parent context.
|
Type |
superType()
Return the super class' type.
|
Type |
thisType()
Return the type that this type declaration defines.
|
void declareThisType(Context context)
context
- the compilation unit context in which we're declaring types.void preAnalyze(Context context)
context
- the parent (compilation unit) context.String name()
Type superType()
Type thisType()