|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGenClass
ControlInterface
AptControlInterface
public class AptControlInterface
REVIEW: does it make sense to define AptControlExtension and/or ControlExtension?
Constructor Summary | |
---|---|
AptControlInterface(Declaration decl,
AnnotationProcessorEnvironment env)
Constructs a new ControlInterface instance where interface information is derived from APT metadata |
Method Summary | |
---|---|
void |
check()
Runs control-specific checker class (if specified) |
String |
getClassName()
Returns the fully qualified classname of this ControlInterface |
ClassLoader |
getExternalClassLoader()
Returns a classloader that can be used to load external classes |
HashMap<String,String> |
getManifestAttributes()
Returns the array of ManifestAttributes associated with the ControlInterface |
ControlInterface |
getMostDerivedInterface()
Returns the most-derived interface in the inheritance chain that is annotated with @ControlInterface. |
String |
getPackage()
Returns the fully qualified package name of this ControlImpl |
String |
getShortName()
Returns the unqualified classname of this ControlInterface. |
protected ArrayList<ControlEventSet> |
initEventSets()
Initializes the list of EventSets declared by this ControlInterface |
FeatureInfo |
initFeatureInfo()
Returns the FeatureInfo annotation for this control interface, or null if there is none. |
protected ArrayList<ControlOperation> |
initOperations()
Initializes the list of operations declared by this ControlInterface |
protected ArrayList<ControlPropertySet> |
initPropertySets()
Initializes the list of PropertySets declared by this ControlInterface |
protected ControlInterface |
initSuperClass()
Initializes the super interface that this ControlInterface extends (or sets it to null if a base interface) |
boolean |
isExtension()
Returns true if this interface is a ControlExtension (jcx) interface, false otherwise. |
Methods inherited from class ControlInterface |
---|
getCheckOutput, getEventSet, getEventSets, getFeatureInfo, getGeneratedTypes, getGenerateOutput, getOperations, getPropertyCount, getPropertySets, getSuperClass, init, needsCustomPropertyDescriptors |
Methods inherited from class GenClass |
---|
hasSuperClass |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AptControlInterface(Declaration decl, AnnotationProcessorEnvironment env)
decl
- the annotated Declarationenv
- the APT environmentMethod Detail |
---|
protected ControlInterface initSuperClass()
initSuperClass
in class ControlInterface
protected ArrayList<ControlOperation> initOperations()
initOperations
in class ControlInterface
protected ArrayList<ControlPropertySet> initPropertySets()
initPropertySets
in class ControlInterface
protected ArrayList<ControlEventSet> initEventSets()
initEventSets
in class ControlInterface
public String getPackage()
getPackage
in class GenClass
public String getShortName()
getShortName
in class GenClass
public String getClassName()
getClassName
in class GenClass
public boolean isExtension()
isExtension
in class ControlInterface
public ControlInterface getMostDerivedInterface()
getMostDerivedInterface
in class ControlInterface
public ClassLoader getExternalClassLoader()
getExternalClassLoader
in class ControlInterface
public HashMap<String,String> getManifestAttributes()
getManifestAttributes
in class ControlInterface
public FeatureInfo initFeatureInfo()
initFeatureInfo
in class ControlInterface
public void check()
check
in class ControlInterface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |