congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
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

  • Start an intent from android
  • setScale (BigDecimal)
  • getSystemService (Context)
  • getApplicationContext (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • ImageIO (javax.imageio)
  • 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