Tabnine Logo
AptUtils.getTypeNamesFromAnnotationValue
Code IndexAdd Tabnine to your IDE (free)

How to use
getTypeNamesFromAnnotationValue
method
in
com.yahoo.aptutils.utils.AptUtils

Best Java code snippets using com.yahoo.aptutils.utils.AptUtils.getTypeNamesFromAnnotationValue (Showing top 2 results out of 315)

origin: yahoo/squidb

private void parseInterfaces() {
  TypeElement modelSpecElement = modelSpec.getModelSpecElement();
  if (modelSpecElement.getAnnotation(Implements.class) != null) {
    List<DeclaredTypeName> typeNames = utils.getTypeNamesFromAnnotationValue(
        utils.getAnnotationValue(modelSpecElement, Implements.class, "interfaceClasses"));
    if (!AptUtils.isEmpty(typeNames)) {
      List<DeclaredTypeName> interfaceClassList = utils.getTypeNamesFromAnnotationValue(interfaceClassValue);
      if (!AptUtils.isEmpty(interfaceClassList)) {
        DeclaredTypeName interfaceClass = interfaceClassList.get(0);
        List<DeclaredTypeName> typeArgs = utils.getTypeNamesFromAnnotationValue(interfaceTypeArgsValue);
        if (AptUtils.isEmpty(typeArgs)) {
          List<String> typeArgNames = utils.getValuesFromAnnotationValue(
origin: com.yahoo.squidb/squidb-processor

private void parseInterfaces() {
  TypeElement modelSpecElement = modelSpec.getModelSpecElement();
  if (modelSpecElement.getAnnotation(Implements.class) != null) {
    List<DeclaredTypeName> typeNames = utils.getTypeNamesFromAnnotationValue(
        utils.getAnnotationValue(modelSpecElement, Implements.class, "interfaceClasses"));
    if (!AptUtils.isEmpty(typeNames)) {
      List<DeclaredTypeName> interfaceClassList = utils.getTypeNamesFromAnnotationValue(interfaceClassValue);
      if (!AptUtils.isEmpty(interfaceClassList)) {
        DeclaredTypeName interfaceClass = interfaceClassList.get(0);
        List<DeclaredTypeName> typeArgs = utils.getTypeNamesFromAnnotationValue(interfaceTypeArgsValue);
        if (AptUtils.isEmpty(typeArgs)) {
          List<String> typeArgNames = utils.getValuesFromAnnotationValue(
com.yahoo.aptutils.utilsAptUtilsgetTypeNamesFromAnnotationValue

Popular methods of AptUtils

  • getMessager
  • isEmpty
  • <init>
  • accumulateImportsFromElements
  • accumulateImportsFromTypeNames
  • getAnnotationValue
  • getAnnotationValueFromMirror
  • getElements
  • getTypeMirrorsFromAnnotationValue
  • getTypeNameFromTypeMirror
  • getTypes
  • getValuesFromAnnotationValue
  • getTypes,
  • getValuesFromAnnotationValue,
  • methodDeclarationParamsFromExecutableElement,
  • newJavaFileWriter

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • addToBackStack (FragmentTransaction)
  • findViewById (Activity)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • CodeWhisperer alternatives
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