congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
CommonSchemaAttributes.title
Code IndexAdd Tabnine to your IDE (free)

How to use
title
method
in
com.atlassian.json.schema.annotation.CommonSchemaAttributes

Best Java code snippets using com.atlassian.json.schema.annotation.CommonSchemaAttributes.title (Showing top 4 results out of 315)

origin: io.atlassian.json-schemagen/json-schemagen-core

protected String getFieldTitle(Class<?> theClass, Field theField)
{
  SchemaClassDoc classDoc = schemaDocs.getClassDoc(theClass.getName());
  String title = null;
  if (null != classDoc)
  {
    SchemaFieldDoc fieldDoc = classDoc.getFieldDoc(theField.getName());
    if (null != fieldDoc)
    {
      if (isNotBlank(fieldDoc.getFieldTitle()))
      {
        title = fieldDoc.getFieldTitle();
      }
    }
  }
  if (null == title)
  {
    if (theField.isAnnotationPresent(CommonSchemaAttributes.class))
    {
      title = theField.getAnnotation(CommonSchemaAttributes.class).title();
    }
  }
  return title;
}
origin: external.atlassian.json/json-schemagen-core

protected String getFieldTitle(Class<?> theClass, Field theField)
{
  SchemaClassDoc classDoc = schemaDocs.getClassDoc(theClass.getName());
  String title = null;
  if (null != classDoc)
  {
    SchemaFieldDoc fieldDoc = classDoc.getFieldDoc(theField.getName());
    if (null != fieldDoc)
    {
      if (isNotBlank(fieldDoc.getFieldTitle()))
      {
        title = fieldDoc.getFieldTitle();
      }
    }
  }
  if (null == title)
  {
    if (theField.isAnnotationPresent(CommonSchemaAttributes.class))
    {
      title = theField.getAnnotation(CommonSchemaAttributes.class).title();
    }
  }
  return title;
}
origin: external.atlassian.json/json-schemagen-core

if (StringUtil.isNotBlank(commonAnno.title()))
  schema.setTitle(commonAnno.title());
origin: io.atlassian.json-schemagen/json-schemagen-core

if (StringUtil.isNotBlank(commonAnno.title()))
  schema.setTitle(commonAnno.title());
com.atlassian.json.schema.annotationCommonSchemaAttributestitle

Popular methods of CommonSchemaAttributes

  • <init>
  • allOf
  • anyOf
  • defaultValue
  • description
  • not
  • oneOf

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • findViewById (Activity)
  • setScale (BigDecimal)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ImageIO (javax.imageio)
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Sublime Text for Python
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