Mojarra JSF Tools 2.1.28.SP9

com.sun.faces.tools
Class StripClassesForApiJar

java.lang.Object
  extended by javax.annotation.processing.AbstractProcessor
      extended by com.sun.faces.tools.StripClassesForApiJar
All Implemented Interfaces:
Processor

@SupportedOptions(value={"com.sun.tools.javac.sym.Jar","com.sun.tools.javac.sym.ExtraApiClassPath","com.sun.tools.javac.sym.Dest"})
@SupportedAnnotationTypes(value="*")
public class StripClassesForApiJar
extends AbstractProcessor

Used to generate a "symbol file" representing rt.jar that only includes supported or legacy proprietary API. Valid annotation processor options:

com.sun.tools.javac.sym.Jar
Specifies the location of rt.jar.
com.sun.tools.javac.sym.Dest
Specifies the destination directory.

This is NOT part of any API supported by Sun Microsystems. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.

Author:
Peter von der Ahé

Field Summary
 
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
 
Constructor Summary
StripClassesForApiJar()
           
 
Method Summary
 SourceVersion getSupportedSourceVersion()
           
 boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv)
           
 
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StripClassesForApiJar

public StripClassesForApiJar()
Method Detail

process

public boolean process(Set<? extends TypeElement> tes,
                       RoundEnvironment renv)
Specified by:
process in interface Processor
Specified by:
process in class AbstractProcessor

getSupportedSourceVersion

public SourceVersion getSupportedSourceVersion()
Specified by:
getSupportedSourceVersion in interface Processor
Overrides:
getSupportedSourceVersion in class AbstractProcessor

Mojarra JSF Tools 2.1.28.SP9

Copyright © 2016 JBoss by Red Hat. All Rights Reserved.