AI2 Component  (Version nb184)
com.google.appinventor.components.scripts.ComponentProcessor Class Referenceabstract
Inheritance diagram for com.google.appinventor.components.scripts.ComponentProcessor:
com.google.appinventor.components.scripts.ComponentDescriptorGenerator com.google.appinventor.components.scripts.ComponentListGenerator com.google.appinventor.components.scripts.ComponentTranslationGenerator com.google.appinventor.components.scripts.DocumentationGenerator com.google.appinventor.components.scripts.MarkdownDocumentationGenerator

Classes

class  ComponentInfo
 
class  Event
 
class  Feature
 
class  Method
 
class  Parameter
 
class  ParameterizedFeature
 
class  Property
 

Protected Attributes

Messager messager
 
final SortedMap< String, ComponentInfocomponents = Maps.newTreeMap()
 

Detailed Description

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:

Author
spert.nosp@m.us@g.nosp@m.oogle.nosp@m..com (Ellen Spertus)

[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.

Member Data Documentation

◆ components

final SortedMap<String, ComponentInfo> com.google.appinventor.components.scripts.ComponentProcessor.components = Maps.newTreeMap()
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.

◆ messager

Messager com.google.appinventor.components.scripts.ComponentProcessor.messager
protected

Produced through ProcessingEnvironment#getMessager() and used for outputing errors and warnings.

Definition at line 194 of file ComponentProcessor.java.


The documentation for this class was generated from the following file: