|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAptType
AptControlClient
public class AptControlClient
The AptControlClient class contains metadata about a class that contains nested control references (AptControlField).
Constructor Summary | |
---|---|
AptControlClient(Declaration decl,
AnnotationProcessorEnvironment env)
Constructs a new ControlClient instance where information is derived from APT metadata |
Method Summary | |
---|---|
List<GeneratorOutput> |
getCheckOutput(Filer filer)
Returns the information necessary to generate a ImplInitializer from this ControlImplementation. |
ArrayList<AptControlField> |
getControls()
Returns the list of ControlFields declared directly by this ControlImpl |
AptField |
getField(String name)
Returns the field with the specified name |
String[] |
getGeneratedTypes()
Returns the list of fully qualified class names for types that are derived from this Generator |
List<GeneratorOutput> |
getGenerateOutput(Filer filer)
Returns the information necessary to generate a ClientInitializer from this control |
AptControlClient |
getSuperClass()
Returns the super class for this class |
protected String |
getSuperClientName()
Returns the fully qualified classname of the closest control client in the inheritance chain. |
boolean |
hasControls()
Returns true if the implemenation class contains any nested controls |
protected boolean |
hasSuperClient()
|
protected ArrayList<AptControlField> |
initControls()
Initializes the list of ControlFields declared directly by this ControlClient |
protected void |
initEventAdaptors()
Initializes the list of EventAdaptors for this ControlImpl |
boolean |
needsFieldInit()
Returns true if the control client needs field initialization support |
Methods inherited from class AptType |
---|
getClassName, getFormalClassName, getFormalShortName, getFormalTypeParameterNames, getFormalTypeParameters, getPackage, getShortName, getTypeDeclaration, setDeclaration |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AptControlClient(Declaration decl, AnnotationProcessorEnvironment env)
decl
- the annotated declarationMethod Detail |
---|
public ArrayList<AptControlField> getControls()
public boolean hasControls()
public boolean needsFieldInit()
public AptField getField(String name)
public String[] getGeneratedTypes()
getGeneratedTypes
in interface Generator
public List<GeneratorOutput> getCheckOutput(Filer filer) throws IOException
getCheckOutput
in interface Generator
IOException
public List<GeneratorOutput> getGenerateOutput(Filer filer) throws IOException
getGenerateOutput
in interface Generator
IOException
protected ArrayList<AptControlField> initControls()
protected boolean hasSuperClient()
protected String getSuperClientName()
public AptControlClient getSuperClass()
protected void initEventAdaptors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |