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

How to use
builder
method
in
org.kie.workbench.common.stunner.core.definition.annotation.Definition

Best Java code snippets using org.kie.workbench.common.stunner.core.definition.annotation.Definition.builder (Showing top 2 results out of 315)

origin: org.kie.workbench.stunner/kie-wb-common-stunner-backend

private Class<? extends Builder<?>> getDefinitionBuilderClass(Class<?> definitionClass) {
  Definition annotation = definitionClass.getAnnotation(Definition.class);
  if (null != annotation && annotation.builder() != VoidBuilder.class) {
    return annotation.builder();
  }
  return null;
}
origin: org.kie.workbench.stunner/kie-wb-common-stunner-processors

private void processDefinitionModelBuilder(final Element e,
                      final String className,
                      final Map<String, TypeConstructor> processingContextMap) {
  Definition definitionAnn = e.getAnnotation(Definition.class);
  TypeMirror bMirror = null;
  try {
    definitionAnn.builder();
  } catch (MirroredTypeException mte) {
    bMirror = mte.getTypeMirror();
  }
  if (null != bMirror && !VoidBuilder.class.getName().equals(bMirror.toString())) {
    String fqcn = bMirror.toString();
    processingContextMap.put(className,
                 TypeConstructor.builder(fqcn));
  } else {
    processingContextMap.put(className,
                 TypeConstructor.constructor(className));
  }
}
org.kie.workbench.common.stunner.core.definition.annotationDefinitionbuilder

Popular methods of Definition

  • <init>
  • graphFactory
  • nameField

Popular in Java

  • Creating JSON documents from java classes using gson
  • compareTo (BigDecimal)
  • getContentResolver (Context)
  • getSupportFragmentManager (FragmentActivity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • JCheckBox (javax.swing)
  • 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
  • Top 15 Vim Plugins
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