congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
CtLiteral.getFactory
Code IndexAdd Tabnine to your IDE (free)

How to use
getFactory
method
in
spoon.reflect.code.CtLiteral

Best Java code snippets using spoon.reflect.code.CtLiteral.getFactory (Showing top 2 results out of 315)

origin: INRIA/spoon

public <T> void visitCtLiteral(final spoon.reflect.code.CtLiteral<T> literal) {
  spoon.reflect.code.CtLiteral<T> aCtLiteral = literal.getFactory().Core().createLiteral();
  this.builder.copy(literal, aCtLiteral);
  aCtLiteral.setAnnotations(this.cloneHelper.clone(literal.getAnnotations()));
  aCtLiteral.setType(this.cloneHelper.clone(literal.getType()));
  aCtLiteral.setTypeCasts(this.cloneHelper.clone(literal.getTypeCasts()));
  aCtLiteral.setComments(this.cloneHelper.clone(literal.getComments()));
  this.cloneHelper.tailor(literal, aCtLiteral);
  this.other = aCtLiteral;
}
origin: net.openhft/spoon-core

public <T> void visitCtLiteral(CtLiteral<T> literal) {
  setResult(literal.getFactory().Core().clone(literal));
}
spoon.reflect.codeCtLiteralgetFactory

Popular methods of CtLiteral

  • getValue
    Gets the actual value of the literal (statically known).
  • setValue
    Sets the actual value of the literal.
  • getType
  • getTypeCasts
  • replace
  • getAnnotations
  • getParent
  • setFactory
  • setType
  • setTypeCasts
  • addTypeCast
  • clone
  • addTypeCast,
  • clone,
  • getComments,
  • getPosition,
  • setAnnotations,
  • setComments

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (Timer)
  • getApplicationContext (Context)
  • onRequestPermissionsResult (Fragment)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedImage (java.awt.image)
    The BufferedImage subclass describes an java.awt.Image with an accessible buffer of image data. All
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Best plugins for Eclipse
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