congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JDefinedClass.typeParams
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: joelittlejohn/jsonschema2pojo

dataOutputStream.writeInt(jclass.mods().getValue());
for (JTypeVar typeParam : jclass.typeParams()) {
  dataOutputStream.writeUTF(typeParam.fullName());
origin: com.haulmont.thirdparty/eclipselink

/**
 * Indicates if this <code>JavaClass</code> has actual type arguments, i.e. is a
 * parameterized type (for example, <code>List&lt;Employee</code>).
 *
 * @return <code>true</code> if this <code>JavaClass</code> is parameterized, otherwise <code>false</code>.
 */
public boolean hasActualTypeArguments() {
  return xjcClass.typeParams().length > 0;
}
origin: com.sap.cloud.yaas.rammler/rammler-core

  @Override
  public JMethod buildMethod(final JDefinedClass builder, final String methodName)
  {
    if (builder.typeParams().length == 0)
    {
      throw new RammlerException("Attempted to build method with generic return type for a non parametrized parent class!");
    }
    final JType tType = builder.typeParams()[0];
    return builder.method(JMod.PUBLIC, tType, methodName);
  }
}
origin: org.jsonschema2pojo/jsonschema2pojo-core

dataOutputStream.writeInt(jclass.mods().getValue());
for (JTypeVar typeParam : jclass.typeParams()) {
  dataOutputStream.writeUTF(typeParam.fullName());
origin: com.haulmont.thirdparty/eclipselink

JTypeVar[] typeParams = xjcClass.typeParams();
com.sun.codemodelJDefinedClasstypeParams

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
  • onCreateOptionsMenu (Activity)
  • getApplicationContext (Context)
  • getContentResolver (Context)
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • JarFile (java.util.jar)
    JarFile is used to read jar entries and their associated data from jar files.
  • JComboBox (javax.swing)
  • Top 17 PhpStorm Plugins
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