public class MainClassDetector extends AClassInformationProcessor<ClassInformation>
Constructor and Description |
---|
MainClassDetector() |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(ClassInformation classInfo)
Here it always returns false because the classes will be selected
separately in the
process(ClassInformation) method. |
boolean |
process(ClassInformation classInfo)
Does nothing special because collecting is done already based on the
matches() method result.
|
getResultData
public boolean matches(ClassInformation classInfo)
process(ClassInformation)
method.classInfo
- Any element object or even nullpublic boolean process(ClassInformation classInfo)
classInfo
- The object to be processed (never null).