|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectAptType
AptControlImplementation
public class AptControlImplementation
The AptControlImplementation class provides validation and metadata management when processing a ControlImplementation class.
Constructor Summary | |
---|---|
AptControlImplementation(Declaration decl,
TwoPhaseAnnotationProcessor ap)
Constructs a new AptControlImplementation 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<AptClientField> |
getClients()
Returns the list of ClientFields declared directly by this ControlImplementation |
ArrayList<AptContextField> |
getContexts()
Returns the list of ContextFields declared directly by this ControlImplementation |
AptEventField |
getControlField(String name)
|
AptControlInterface |
getControlInterface()
Returns the ControlInterface implemented 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 list of generated files derived from this Generator during the generate phase of annotation processing. |
AptControlImplementation |
getSuperClass()
Returns the super interface for this interface |
VersionSupported |
getVersionSupported()
Returns the VersionSupported annotation, if any. |
boolean |
hasClients()
Returns true if the implemenation class contains any nested event proxies |
boolean |
hasContexts()
Returns true if the implemenation class contains any nested services |
boolean |
hasControls()
Returns true if the implemenation class contains any nested controls |
protected ArrayList<AptClientField> |
initClients()
Initializes the list of ClientFields declared directly by this ControlImpl |
protected void |
initEventAdaptors()
Initializes the list of EventAdaptors for this ControlImpl |
protected boolean |
isSerializable()
Does this control impl on one of it superclasses implement java.io.Serializable? |
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 AptControlImplementation(Declaration decl, TwoPhaseAnnotationProcessor ap)
decl
- the annotated declarationMethod Detail |
---|
public AptControlImplementation getSuperClass()
public ArrayList<AptContextField> getContexts()
public boolean hasContexts()
public boolean hasControls()
protected ArrayList<AptClientField> initClients()
public ArrayList<AptClientField> getClients()
public VersionSupported getVersionSupported()
public boolean hasClients()
public AptField getField(String name)
public AptEventField getControlField(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
public AptControlInterface getControlInterface()
protected void initEventAdaptors()
protected boolean isSerializable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |