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

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

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

origin: joelittlejohn/jsonschema2pojo

private void addInterfaces(JDefinedClass jclass, JsonNode javaInterfaces) {
  for (JsonNode i : javaInterfaces) {
    jclass._implements(resolveType(jclass._package(), i.asText()));
  }
}
origin: joelittlejohn/jsonschema2pojo

private void addInterfaces(JDefinedClass jclass, JsonNode javaInterfaces) {
  for (JsonNode i : javaInterfaces) {
    jclass._implements(resolveType(jclass._package(), i.asText()));
  }
}
origin: highsource/jaxb2-annotate-plugin

@Override
public JAnnotatable getAnnotatable(Outline outline,
    ClassOutline classOutline) throws IllegalArgumentException,
    UnsupportedOperationException {
  return classOutline.ref._package();
}
origin: highsource/jaxb2-annotate-plugin

@Override
public JAnnotatable getAnnotatable(Outline outline,
    FieldOutline fieldOutline) {
  return fieldOutline.parent().ref._package();
}
origin: com.haulmont.thirdparty/eclipselink

/**
 * Returns the package name of this <code>JavaClass</code>.
 *
 * @return the <code>String</code> name of this <code>JavaClass'</code> <code>JavaPackage</code>.
 */
public String getPackageName() {
  return xjcClass._package().name();
}
origin: org.jsonschema2pojo/jsonschema2pojo-core

private void addInterfaces(JDefinedClass jclass, JsonNode javaInterfaces) {
  for (JsonNode i : javaInterfaces) {
    jclass._implements(resolveType(jclass._package(), i.asText()));
  }
}
origin: org.jsonschema2pojo/jsonschema2pojo-core

private void addInterfaces(JDefinedClass jclass, JsonNode javaInterfaces) {
  for (JsonNode i : javaInterfaces) {
    jclass._implements(resolveType(jclass._package(), i.asText()));
  }
}
origin: sun-jaxb/jaxb-xjc

/**
 * {@link PackageOutline} that contains this class.
 */
public PackageOutline _package() {
  return parent().getPackageContext(implClass._package());
}
origin: org.glassfish.metro/webservices-tools

/**
 * {@link PackageOutline} that contains this class.
 */
public PackageOutline _package() {
  return parent().getPackageContext(implClass._package());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc

/**
 * {@link PackageOutline} that contains this class.
 */
public PackageOutline _package() {
  return parent().getPackageContext(implClass._package());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc

/**
 * {@link PackageOutline} that contains this class.
 */
public @NotNull
PackageOutline _package() {
  return parent().getPackageContext(clazz._package());
}
origin: org.andromda.thirdparty.jaxb2_commons/jaxb-xjc

/**
 * {@link PackageOutline} that contains this class.
 */
public @NotNull
PackageOutline _package() {
  return parent().getPackageContext(clazz._package());
}
origin: org.glassfish.metro/webservices-tools

/**
 * {@link PackageOutline} that contains this class.
 */
public @NotNull
PackageOutline _package() {
  return parent().getPackageContext(clazz._package());
}
origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.jaxb-xjc

/**
 * {@link PackageOutline} that contains this class.
 */
public @NotNull PackageOutline _package() {
  return parent().getPackageContext(ref._package());
}
origin: apache/servicemix-bundles

/**
 * {@link PackageOutline} that contains this class.
 */
public @NotNull
PackageOutline _package() {
  return parent().getPackageContext(clazz._package());
}
origin: apache/servicemix-bundles

/**
 * {@link PackageOutline} that contains this class.
 */
public @NotNull PackageOutline _package() {
  return parent().getPackageContext(ref._package());
}
origin: com.sun.codemodel/codemodel

/**
 * Gets the fully qualified name of this class.
 */
public String fullName() {
  if (outer instanceof JDefinedClass)
    return ((JDefinedClass) outer).fullName() + '.' + name();
  JPackage p = _package();
  if (p.isUnnamed())
    return name();
  else
    return p.name() + '.' + name();
}
origin: sun-jaxb/jaxb-xjc

/**
 * Gets the fully qualified name of this class.
 */
public String fullName() {
  if (outer instanceof JDefinedClass)
    return ((JDefinedClass) outer).fullName() + '.' + name();
  JPackage p = _package();
  if (p.isUnnamed())
    return name();
  else
    return p.name() + '.' + name();
}
origin: com.unquietcode.tools.jcodemodel/codemodel

/**
 * Gets the fully qualified name of this class.
 */
public String fullName() {
  if (outer instanceof JDefinedClass)
    return ((JDefinedClass) outer).fullName() + '.' + name();
  JPackage p = _package();
  if (p.isUnnamed())
    return name();
  else
    return p.name() + '.' + name();
}
origin: org.glassfish.metro/webservices-tools

/**
 * Gets the fully qualified name of this class.
 */
public String fullName() {
  if (outer instanceof JDefinedClass)
    return ((JDefinedClass) outer).fullName() + '.' + name();
  JPackage p = _package();
  if (p.isUnnamed())
    return name();
  else
    return p.name() + '.' + name();
}
com.sun.codemodelJDefinedClass_package

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,
  • dotclass,
  • enumConstant,
  • staticInvoke,
  • staticRef,
  • init

Popular in Java

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • getApplicationContext (Context)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Path (java.nio.file)
  • Permission (java.security)
    Legacy security code; do not use.
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 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