public class ClassReader
extends java.lang.Object
Constructor and Description |
---|
ClassReader(Source source,
ErrorStream error)
Create a reader of a class declaration.
|
Modifier and Type | Method and Description |
---|---|
Source |
getSource()
Get source for class reader.
|
boolean |
isModified()
Indicate whether declaration has been modified.
|
ClassDeclaration |
read()
Read the class declaration.
|
public ClassReader(Source source, ErrorStream error)
source
- the source for the class declaration.error
- the stream where to report errors.public Source getSource()
public boolean isModified()
public ClassDeclaration read()