Tabnine Logo
DeclaredTypeName.getPackageName
Code IndexAdd Tabnine to your IDE (free)

How to use
getPackageName
method
in
com.yahoo.aptutils.model.DeclaredTypeName

Best Java code snippets using com.yahoo.aptutils.model.DeclaredTypeName.getPackageName (Showing top 6 results out of 315)

origin: yahoo/squidb

public static boolean isPrimitiveType(DeclaredTypeName type) {
  return AptUtils.isEmpty(type.getPackageName());
}
origin: yahoo/squidb

private void emitPackage() throws IOException {
  writer.writePackage(modelSpec.getGeneratedClassName().getPackageName());
}
origin: yahoo/squidb

public ModelSpec(TypeElement modelSpecElement, Class<T> modelSpecClass,
    PluginEnvironment pluginEnv, AptUtils utils) {
  this.utils = utils;
  this.modelSpecElement = modelSpecElement;
  this.modelSpecName = new DeclaredTypeName(modelSpecElement.getQualifiedName().toString());
  this.modelSpecAnnotation = modelSpecElement.getAnnotation(modelSpecClass);
  this.generatedClassName = new DeclaredTypeName(modelSpecName.getPackageName(), getGeneratedClassNameString());
  this.pluginEnvironment = pluginEnv;
  this.pluginBundle = pluginEnv.getPluginBundleForModelSpec(this);
  processVariableElements();
  pluginBundle.afterProcessVariableElements();
  modelSuperclass = initializeModelSuperclass();
}
origin: com.yahoo.squidb/squidb-processor

public static boolean isPrimitiveType(DeclaredTypeName type) {
  return AptUtils.isEmpty(type.getPackageName());
}
origin: com.yahoo.squidb/squidb-processor

private void emitPackage() throws IOException {
  writer.writePackage(modelSpec.getGeneratedClassName().getPackageName());
}
origin: com.yahoo.squidb/squidb-processor

public ModelSpec(TypeElement modelSpecElement, Class<T> modelSpecClass,
    PluginEnvironment pluginEnv, AptUtils utils) {
  this.utils = utils;
  this.modelSpecElement = modelSpecElement;
  this.modelSpecName = new DeclaredTypeName(modelSpecElement.getQualifiedName().toString());
  this.modelSpecAnnotation = modelSpecElement.getAnnotation(modelSpecClass);
  this.generatedClassName = new DeclaredTypeName(modelSpecName.getPackageName(), getGeneratedClassNameString());
  this.pluginEnvironment = pluginEnv;
  this.pluginBundle = pluginEnv.getPluginBundleForModelSpec(this);
  processVariableElements();
  pluginBundle.afterProcessVariableElements();
  modelSuperclass = initializeModelSuperclass();
}
com.yahoo.aptutils.modelDeclaredTypeNamegetPackageName

Popular methods of DeclaredTypeName

  • clone
  • equals
  • getTypeArgs
  • setTypeArgs
  • <init>
  • getSimpleName
  • toString
  • accept

Popular in Java

  • Updating database using SQL prepared statement
  • onCreateOptionsMenu (Activity)
  • getContentResolver (Context)
  • addToBackStack (FragmentTransaction)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Permission (java.security)
    Legacy security code; do not use.
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • Runner (org.openjdk.jmh.runner)
  • Top Sublime Text plugins
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