Crossfire JXClient, Trunk
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
checker.PluginChecker Class Reference
Inheritance diagram for checker.PluginChecker:
Inheritance graph
Collaboration diagram for checker.PluginChecker:
Collaboration graph

Public Member Functions

Set< String > getSupportedOptions ()
 
synchronized void init (ProcessingEnvironment processingEnv)
 
boolean process (Set<? extends TypeElement > annotations, RoundEnvironment roundEnv)
 

Static Public Attributes

static final String DEVICE_OPTION = "device"
 

Private Attributes

Device device
 

Detailed Description

Reads the device configuration from the XML file specified by -Adevice=device.xml. For each class in a project, checks required modules. If the device doesn't have the required module, then a compilation error will be shown.

Definition at line 64 of file PluginChecker.java.

Member Function Documentation

◆ getSupportedOptions()

Set<String> checker.PluginChecker.getSupportedOptions ( )

Only the device option is supported.

Definition at line 78 of file PluginChecker.java.

◆ init()

synchronized void checker.PluginChecker.init ( ProcessingEnvironment  processingEnv)

Initializes the processor by loading the device configuration.

Definition at line 88 of file PluginChecker.java.

◆ process()

boolean checker.PluginChecker.process ( Set<? extends TypeElement >  annotations,
RoundEnvironment  roundEnv 
)

Processes @Require annotations and checks that Device meets requirements.

Definition at line 107 of file PluginChecker.java.

References checker.Device.getSupportedModules().

Here is the call graph for this function:

Member Data Documentation

◆ device

Device checker.PluginChecker.device
private

Definition at line 70 of file PluginChecker.java.

◆ DEVICE_OPTION

final String checker.PluginChecker.DEVICE_OPTION = "device"
static

Name of the option to get the path to the xml with device configuration.

Definition at line 69 of file PluginChecker.java.


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