AI2 Component
(Version nb184)
|
Classes | |
class | ComponentInfo |
class | Event |
class | Feature |
class | Method |
class | Parameter |
class | ParameterizedFeature |
class | Property |
Protected Attributes | |
Messager | messager |
final SortedMap< String, ComponentInfo > | components = Maps.newTreeMap() |
Processor for generating output files based on the annotations and javadoc in the component source code.
Specifically, this reads over the source files, building up a representation of components and their designer properties, properties, methods, and events. Concrete subclasses implement the method outputResults() to generate output.
Currently, the following annotations are used:
[lyn, 2015/12/29] Added deprecated instance variable to ParameterizedFeature. This is inherited by Event, Method, and Property, which are modified slightly to handle it.
[Will, 2016/9/20] Added methods to process annotations in the package com.google.appinventor.components.annotations.androidmanifest and the appropriate calls in processComponent(Element).
Definition at line 124 of file ComponentProcessor.java.
|
protected |
Information about every App Inventor component. Keys are fully-qualified names (such as "com.google.appinventor.components.runtime.components.android.Label"), and values are the corresponding ComponentProcessor.ComponentInfo objects. This is constructed by process for use in outputResults().
Definition at line 207 of file ComponentProcessor.java.
|
protected |
Produced through ProcessingEnvironment#getMessager() and used for outputing errors and warnings.
Definition at line 194 of file ComponentProcessor.java.