Tabnine Logo
Property.formType
Code IndexAdd Tabnine to your IDE (free)

How to use
formType
method
in
org.uberfire.preferences.shared.annotations.Property

Best Java code snippets using org.uberfire.preferences.shared.annotations.Property.formType (Showing top 2 results out of 315)

origin: kiegroup/appformer

public PropertyData(final Element element,
          final Property propertyAnnotation,
          final AnnotationMirror propertyAnnotationMirror,
          final Elements elementUtils) {
  fieldName = element.getSimpleName().toString();
  typeFullName = element.asType().toString();
  final char elementNameFirstLetter = fieldName.charAt(0);
  final char elementNameCapitalizedFirstLetter = Character.toUpperCase(elementNameFirstLetter);
  final String nameWithoutFirstLetter = fieldName.substring(1);
  capitalizedFieldName = elementNameCapitalizedFirstLetter + nameWithoutFirstLetter;
  shared = propertyAnnotation.shared();
  final TypeElement typeElement = elementUtils.getTypeElement(element.asType().toString());
  subPreference = typeElement != null && typeElement.getAnnotation(WorkbenchPreference.class) != null;
  formType = propertyAnnotation.formType();
  privateAccess = element.getModifiers().contains(Modifier.PRIVATE);
  typeKind = element.asType().getKind();
  setupValidators(propertyAnnotationMirror,
          elementUtils);
}
origin: org.uberfire/uberfire-preferences-processors

public PropertyData(final Element element,
          final Property propertyAnnotation,
          final AnnotationMirror propertyAnnotationMirror,
          final Elements elementUtils) {
  fieldName = element.getSimpleName().toString();
  typeFullName = element.asType().toString();
  final char elementNameFirstLetter = fieldName.charAt(0);
  final char elementNameCapitalizedFirstLetter = Character.toUpperCase(elementNameFirstLetter);
  final String nameWithoutFirstLetter = fieldName.substring(1);
  capitalizedFieldName = elementNameCapitalizedFirstLetter + nameWithoutFirstLetter;
  shared = propertyAnnotation.shared();
  final TypeElement typeElement = elementUtils.getTypeElement(element.asType().toString());
  subPreference = typeElement != null && typeElement.getAnnotation(WorkbenchPreference.class) != null;
  formType = propertyAnnotation.formType();
  privateAccess = element.getModifiers().contains(Modifier.PRIVATE);
  typeKind = element.asType().getKind();
  setupValidators(propertyAnnotationMirror,
          elementUtils);
}
org.uberfire.preferences.shared.annotationsPropertyformType

Popular methods of Property

  • <init>
  • shared
  • bundleKey
  • formOptions
  • helpBundleKey

Popular in Java

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top PhpStorm 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