Tabnine Logo
Messager.printNotice
Code IndexAdd Tabnine to your IDE (free)

How to use
printNotice
method
in
com.sun.mirror.apt.Messager

Best Java code snippets using com.sun.mirror.apt.Messager.printNotice (Showing top 13 results out of 315)

origin: uk.ac.ebi.intact.core/intact-apt

public MockableProcessor(Set<AnnotationTypeDeclaration> atds,
             AnnotationProcessorEnvironment env
) {
  this.atds = atds;
  this.env = env;
  this.env.getMessager().printNotice("Starting annotation process");
}
origin: uk.ac.ebi.intact/intact-apt

public IntactAnnotationProcessor(Set<AnnotationTypeDeclaration> atds,
  AnnotationProcessorEnvironment env) {
 this.atds = atds;
 this.env = env;
 this.env.getMessager().printNotice("Starting annotation process");
}
origin: uk.ac.ebi.intact.sanity/intact-sanity-commons

public SanityAnnotationProcessor( Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env ) {
  this.atds = atds;
  this.env = env;
  this.env.getMessager().printNotice( "Starting annotation process" );
}
origin: uk.ac.ebi.intact.core/intact-apt

public PotentialThreatProcessor(Set<AnnotationTypeDeclaration> atds,
  AnnotationProcessorEnvironment env) {
 this.atds = atds;
 this.env = env;
 this.env.getMessager().printNotice("Starting annotation process");
}
origin: uk.ac.ebi.intact.sanity/intact-sanity-commons

public void process() {
  SanityRuleVisitor visitor = new SanityRuleVisitor();
  for ( AnnotationTypeDeclaration atd : atds ) {
    env.getMessager().printNotice( "Collecting annotation " + atd );
    Collection<Declaration> decls = env.getDeclarationsAnnotatedWith( atd );
    for ( Declaration decl : decls ) {
      decl.accept( DeclarationVisitors.getDeclarationScanner( visitor, DeclarationVisitors.NO_OP ) );
    }
  }
  List<DeclaredRule> rules = visitor.getRules();
  try {
    File targetDir = createTargetDir();
    File targetFile = new File( targetDir, DeclaredRuleManager.RULES_XML_PATH );
    targetFile.getParentFile().mkdirs();
    env.getMessager().printNotice( "Writing " + rules.size() + " sanity rules to: " + targetFile );
    Writer writer = new FileWriter( targetFile );
    DeclaredRules jaxbRules = new DeclaredRules();
    jaxbRules.getDeclaredRules().addAll( rules );
    DeclaredRuleManager.writeRulesXml( jaxbRules, writer );
    writer.close();
  } catch ( Exception e ) {
    e.printStackTrace();
    throw new SanityRuleException( e );
  }
}
origin: sun-jaxb/jaxb-xjc

env.getMessager().printNotice("Writing "+episodeFile);
model.generateEpisodeFile(new StreamResult(episodeFile));
origin: uk.ac.ebi.intact/intact-apt

public void process() {
 PotentialThreatVisitor visitor = new PotentialThreatVisitor();
 for (AnnotationTypeDeclaration atd : atds) {
  env.getMessager().printNotice("Collecting annotation "+atd);
  Collection<Declaration> decls = env.getDeclarationsAnnotatedWith(atd);
  for (Declaration decl : decls) {
   decl.accept(DeclarationVisitors.getDeclarationScanner(visitor, DeclarationVisitors.NO_OP));
  }
 }
 try {
  visitor.print();
 } catch (Exception e) {
  e.printStackTrace();
 }
}
origin: uk.ac.ebi.intact.core/intact-apt

public void process() {
 PotentialThreatVisitor visitor = new PotentialThreatVisitor();
 for (AnnotationTypeDeclaration atd : atds) {
  env.getMessager().printNotice("Collecting annotation "+atd);
  Collection<Declaration> decls = env.getDeclarationsAnnotatedWith(atd);
  for (Declaration decl : decls) {
   decl.accept(DeclarationVisitors.getDeclarationScanner(visitor, DeclarationVisitors.NO_OP));
  }
 }
 try {
  visitor.print();
 } catch (Exception e) {
  e.printStackTrace();
 }
}
origin: org.andromda.thirdparty.jaxb2_commons/jaxb-xjc

env.getMessager().printNotice("Writing "+episodeFile);
model.generateEpisodeFile(new StreamResult(episodeFile));
origin: uk.ac.ebi.intact.core/intact-apt

public void process() {
  File targetDir = createTargetDir();
  for (AnnotationTypeDeclaration atd : atds) {
    env.getMessager().printNotice("Processing annotation " + atd);
    Collection<Declaration> decls = env.getDeclarationsAnnotatedWith(atd);
    
    for (Declaration decl : decls) {
      MockableVisitor visitor = new MockableVisitor(env, targetDir);
      decl.accept(DeclarationVisitors.getDeclarationScanner(visitor, DeclarationVisitors.NO_OP));
      try {
        visitor.generateMock();
      } catch (Exception e) {
        e.printStackTrace();
      }
    }
  }
}
origin: com.google.gdata/gdata-core-1.0

msg.printNotice("Wrote kind metadata for " + term + " to " 
  + servicePath);
origin: com.mulesoft.google/google-api-gdata

msg.printNotice("Wrote kind metadata for " + term + " to " 
  + servicePath);
origin: com.google.gdata/gdata-java-client

msg.printNotice("Wrote kind metadata for " + term + " to " 
  + servicePath);
com.sun.mirror.aptMessagerprintNotice

Popular methods of Messager

  • printError
  • printWarning

Popular in Java

  • Reading from database using SQL prepared statement
  • putExtra (Intent)
  • onRequestPermissionsResult (Fragment)
  • startActivity (Activity)
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now