congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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

  • Finding current android device location
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • onCreateOptionsMenu (Activity)
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Permission (java.security)
    Legacy security code; do not use.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • JFrame (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
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • Top 25 Plugins for Webstorm
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