congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GenerateOverrideVisitor.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
com.oracle.truffle.dsl.processor.java.transform.GenerateOverrideVisitor
constructor

Best Java code snippets using com.oracle.truffle.dsl.processor.java.transform.GenerateOverrideVisitor.<init> (Showing top 5 results out of 315)

origin: com.oracle.truffle/truffle-dsl-processor

private void generateOptionDescriptor(OptionsInfo info) {
  Element element = info.type;
  ProcessorContext context = ProcessorContext.getInstance();
  CodeTypeElement unit = generateDescriptors(context, element, info);
  DeclaredType overrideType = (DeclaredType) context.getType(Override.class);
  DeclaredType unusedType = (DeclaredType) context.getType(SuppressWarnings.class);
  unit.accept(new GenerateOverrideVisitor(overrideType), null);
  unit.accept(new FixWarningsVisitor(context.getEnvironment(), unusedType, overrideType), null);
  try {
    unit.accept(new CodeWriter(context.getEnvironment(), element), null);
  } catch (RuntimeException e) {
    if (e.getCause() instanceof FilerException) {
      // ignore spurious errors of source file already created in Eclipse.
      if (e.getCause().getMessage().startsWith("Source file already created")) {
        return;
      }
    }
  }
}
origin: com.oracle.truffle/truffle-dsl-processor

unit.accept(new GenerateOverrideVisitor(overrideType), null);
unit.accept(new FixWarningsVisitor(context.getEnvironment(), unusedType, overrideType), null);
unit.accept(new CodeWriter(context.getEnvironment(), element), null);
origin: com.oracle.truffle/truffle-dsl-processor

unit.accept(new GenerateOverrideVisitor(overrideType), null);
unit.accept(new FixWarningsVisitor(context.getEnvironment(), unusedType, overrideType), null);
unit.accept(new CodeWriter(context.getEnvironment(), element), null);
origin: com.oracle/truffle-dsl-processor

unit.accept(new GenerateOverrideVisitor(overrideType), null);
unit.accept(new FixWarningsVisitor(context.getEnvironment(), unusedType, overrideType), null);
origin: com.oracle.truffle/truffle-dsl-processor

unit.accept(new GenerateOverrideVisitor(overrideType), null);
unit.accept(new FixWarningsVisitor(context.getEnvironment(), unusedType, overrideType), null);
com.oracle.truffle.dsl.processor.java.transformGenerateOverrideVisitor<init>

Popular methods of GenerateOverrideVisitor

    Popular in Java

    • Start an intent from android
    • getApplicationContext (Context)
    • notifyDataSetChanged (ArrayAdapter)
    • setContentView (Activity)
    • Date (java.sql)
      A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
    • Format (java.text)
      The base class for all formats. This is an abstract base class which specifies the protocol for clas
    • Hashtable (java.util)
      A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
    • Callable (java.util.concurrent)
      A task that returns a result and may throw an exception. Implementors define a single method with no
    • Servlet (javax.servlet)
      Defines methods that all servlets must implement. A servlet is a small Java program that runs within
    • JTable (javax.swing)
    • Top PhpStorm plugins
    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