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

  • Finding current android device location
  • startActivity (Activity)
  • onCreateOptionsMenu (Activity)
  • addToBackStack (FragmentTransaction)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Path (java.nio.file)
  • Permission (java.security)
    Legacy security code; do not use.
  • HashMap (java.util)
    HashMap is an implementation of Map. All optional operations are supported.All elements are permitte
  • JLabel (javax.swing)
  • Logger (org.slf4j)
    The org.slf4j.Logger interface is the main user entry point of SLF4J API. It is expected that loggin
  • 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