Tabnine Logo
PluginImpl
Code IndexAdd Tabnine to your IDE (free)

How to use
PluginImpl
in
com.sun.tools.ws.wscompile.plugin.at_generated

Best Java code snippets using com.sun.tools.ws.wscompile.plugin.at_generated.PluginImpl (Showing top 8 results out of 315)

origin: javaee/metro-jax-ws

@Override
public boolean run(Model model, WsimportOptions wo, ErrorReceiver er) throws SAXException {
  JCodeModel cm = wo.getCodeModel();
  // we want this to work without requiring JSR-250 jar.
  annotation = cm.ref("javax.annotation.Generated");
  for (Iterator<JPackage> i = cm.packages(); i.hasNext();) {
    for (Iterator<JDefinedClass> j = i.next().classes(); j.hasNext();) {
      annotate(j.next());
    }
  }
  
  return true;
}
origin: com.sun.xml.ws/jaxws-tools

private void annotate(JAnnotatable m) {
  m.annotate(annotation)
      .param("value", WsimportTool.class.getName())
      .param("date", getISO8601Date())
      .param("comments", ToolVersion.VERSION.BUILD_VERSION);
}
origin: javaee/metro-jax-ws

private void annotate(JAnnotatable m) {
  m.annotate(annotation)
      .param("value", WsimportTool.class.getName())
      .param("date", getISO8601Date())
      .param("comments", ToolVersion.VERSION.BUILD_VERSION);
}
origin: com.sun.xml.ws/jaxws-tools

@Override
public boolean run(Model model, WsimportOptions wo, ErrorReceiver er) throws SAXException {
  JCodeModel cm = wo.getCodeModel();
  // we want this to work without requiring JSR-250 jar.
  annotation = cm.ref("javax.annotation.Generated");
  for (Iterator<JPackage> i = cm.packages(); i.hasNext();) {
    for (Iterator<JDefinedClass> j = i.next().classes(); j.hasNext();) {
      annotate(j.next());
    }
  }
  
  return true;
}
origin: org.glassfish.metro/webservices-tools

private void annotate(JAnnotatable m) {
  m.annotate(annotation)
      .param("value", WsimportTool.class.getName())
      .param("date", getISO8601Date())
      .param("comments", ToolVersion.VERSION.BUILD_VERSION);
}
origin: org.glassfish.metro/webservices-tools

@Override
public boolean run(Model model, WsimportOptions wo, ErrorReceiver er) throws SAXException {
  JCodeModel cm = wo.getCodeModel();
  // we want this to work without requiring JSR-250 jar.
  annotation = cm.ref("javax.annotation.Generated");
  for (Iterator<JPackage> i = cm.packages(); i.hasNext();) {
    for (Iterator<JDefinedClass> j = i.next().classes(); j.hasNext();) {
      annotate(j.next());
    }
  }
  
  return true;
}
origin: javaee/metro-jax-ws

private void annotate(JAnnotatable m) {
  m.annotate(annotation)
      .param("value", WsimportTool.class.getName())
      .param("date", getISO8601Date())
      .param("comments", ToolVersion.VERSION.BUILD_VERSION);
}
origin: javaee/metro-jax-ws

@Override
public boolean run(Model model, WsimportOptions wo, ErrorReceiver er) throws SAXException {
  JCodeModel cm = wo.getCodeModel();
  // we want this to work without requiring JSR-250 jar.
  annotation = cm.ref("javax.annotation.Generated");
  for (Iterator<JPackage> i = cm.packages(); i.hasNext();) {
    for (Iterator<JDefinedClass> j = i.next().classes(); j.hasNext();) {
      annotate(j.next());
    }
  }
  
  return true;
}
com.sun.tools.ws.wscompile.plugin.at_generatedPluginImpl

Javadoc

Plugin that marks the generated code by using JSR-250's '@Generated'. It is based on a similar plugin in JAXB RI.

Most used methods

  • annotate
  • getISO8601Date
    calculate the date value in ISO8601 format for the @Generated annotation

Popular in Java

  • Making http requests using okhttp
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • setContentView (Activity)
  • ObjectMapper (com.fasterxml.jackson.databind)
    ObjectMapper provides functionality for reading and writing JSON, either to and from basic POJOs (Pl
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • JButton (javax.swing)
  • JCheckBox (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top 12 Jupyter Notebook Extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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