Tabnine Logo
JDefinedClass.generify
Code IndexAdd Tabnine to your IDE (free)

How to use
generify
method
in
com.sun.codemodel.JDefinedClass

Best Java code snippets using com.sun.codemodel.JDefinedClass.generify (Showing top 6 results out of 315)

origin: mklemm/jaxb2-rich-contract-plugin

  public GenerifiedClass(final JDefinedClass definedClass, final String typeParameterName) {
    this.raw = definedClass;
    this.typeParam = definedClass.generify(typeParameterName);
    this.type = definedClass.narrow(this.typeParam);
  }
}
origin: com.sap.cloud.yaas.rammler/rammler-core

/**
 * Javadoc setup.
 */
@RequiredArgsConstructor
private enum JavaDocs
{
  DOCS_TOP_CLASS("top_class"),
  DOCS_CONSTRUCTOR("constructor");
  private static final String JAVADOC_DIR = "arbitrary-action-builder-procreator";
  private final String name;
  String fillTemplate(final Object... params)
  {
    return String.format(JavadocUtils.getTemplateString(JAVADOC_DIR, name), params);
  }
}
origin: com.haulmont.thirdparty/eclipselink

List<JClass> args = (List<JClass>) PrivilegedAccessHelper.getValueFromField(argsField, type);
for (JClass jClass : args) {
  ((JDefinedClass) classToReturn).generify("param", jClass);
origin: org.jboss.shrinkwrap.descriptors/shrinkwrap-descriptors-metadata-parser

childInterface.generify("T");
  JTypeVar type = dc.generify("T");
  child.narrow(type);
  JType erasureType = dc.erasure();
origin: org.projectodd.shrinkwrap.descriptors/shrinkwrap-descriptors-metadata-parser

childInterface.generify("T");
  JTypeVar type = dc.generify("T");
  child.narrow(type);
  JType erasureType = dc.erasure();
origin: mklemm/jaxb2-rich-contract-plugin

final JDefinedClass definedClass = classOutline.implClass;
final JDefinedClass selectorClass = definedClass._class(JMod.PUBLIC | JMod.STATIC, this.selectorClassName);
final JTypeVar rootTypeParam = selectorClass.generify("TRoot");
final JTypeVar parentTypeParam = selectorClass.generify("TParent");
rootTypeParam.bound(this.pluginContext.codeModel.ref(this.selectorBaseClass).narrow(rootTypeParam, this.pluginContext.codeModel.wildcard()));
com.sun.codemodelJDefinedClassgenerify

Popular methods of JDefinedClass

  • method
  • _extends
  • field
  • _implements
  • name
    JClass name accessor. For example, for java.util.List, this method returns "List""
  • constructor
    Adds a constructor to this class.
  • fields
    Returns all the fields declred in this class. The returned Map is a read-only live view.
  • annotate
    Adding ability to annotate a class
  • fullName
    Gets the fully qualified name of this class.
  • methods
  • owner
  • javadoc
    Creates, if necessary, and returns the class javadoc for this JDefinedClass
  • owner,
  • javadoc,
  • _class,
  • getMethod,
  • _package,
  • dotclass,
  • enumConstant,
  • staticInvoke,
  • staticRef,
  • init

Popular in Java

  • Reactive rest calls using spring rest template
  • getResourceAsStream (ClassLoader)
  • runOnUiThread (Activity)
  • compareTo (BigDecimal)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • ConnectException (java.net)
    A ConnectException is thrown if a connection cannot be established to a remote host on a specific po
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • JTable (javax.swing)
  • PhpStorm for WordPress
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