Tabnine Logo
EnhancedAnnotatedField.getPropertyName
Code IndexAdd Tabnine to your IDE (free)

How to use
getPropertyName
method
in
org.jboss.weld.annotated.enhanced.EnhancedAnnotatedField

Best Java code snippets using org.jboss.weld.annotated.enhanced.EnhancedAnnotatedField.getPropertyName (Showing top 7 results out of 315)

origin: org.jboss.weld.se/weld-se

public String getPropertyName() {
  return delegate().getPropertyName();
}
origin: weld/core

/**
 * Gets the default name of the bean
 *
 * @return The default name
 */
protected String getDefaultName(EnhancedAnnotated<?, ?> annotated) {
  if (annotated instanceof EnhancedAnnotatedType<?>) {
    StringBuilder defaultName = new StringBuilder(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
    defaultName.setCharAt(0, Character.toLowerCase(defaultName.charAt(0)));
    return defaultName.toString();
  } else if (annotated instanceof EnhancedAnnotatedField<?, ?>) {
    return ((EnhancedAnnotatedField<?, ?>) annotated).getPropertyName();
  } else if (annotated instanceof EnhancedAnnotatedMethod<?, ?>) {
    return ((EnhancedAnnotatedMethod<?, ?>) annotated).getPropertyName();
  } else {
    return null;
  }
}
origin: weld/core

/**
 * Gets the default name of the bean
 *
 * @return The default name
 */
protected String getDefaultName(EnhancedAnnotated<?, ?> annotated) {
  if (annotated instanceof EnhancedAnnotatedType<?>) {
    StringBuilder defaultName = new StringBuilder(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
    defaultName.setCharAt(0, Character.toLowerCase(defaultName.charAt(0)));
    return defaultName.toString();
  } else if (annotated instanceof EnhancedAnnotatedField<?, ?>) {
    return ((EnhancedAnnotatedField<?, ?>) annotated).getPropertyName();
  } else if (annotated instanceof EnhancedAnnotatedMethod<?, ?>) {
    return ((EnhancedAnnotatedMethod<?, ?>) annotated).getPropertyName();
  } else {
    return null;
  }
}
origin: org.jboss.weld.se/weld-se-shaded

/**
 * Gets the default name of the bean
 *
 * @return The default name
 */
protected String getDefaultName(EnhancedAnnotated<?, ?> annotated) {
  if (annotated instanceof EnhancedAnnotatedType<?>) {
    StringBuilder defaultName = new StringBuilder(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
    defaultName.setCharAt(0, Character.toLowerCase(defaultName.charAt(0)));
    return defaultName.toString();
  } else if (annotated instanceof EnhancedAnnotatedField<?, ?>) {
    return ((EnhancedAnnotatedField<?, ?>) annotated).getPropertyName();
  } else if (annotated instanceof EnhancedAnnotatedMethod<?, ?>) {
    return ((EnhancedAnnotatedMethod<?, ?>) annotated).getPropertyName();
  } else {
    return null;
  }
}
origin: weld/core

/**
 * Gets the default name of the bean
 *
 * @return The default name
 */
protected String getDefaultName(EnhancedAnnotated<?, ?> annotated) {
  if (annotated instanceof EnhancedAnnotatedType<?>) {
    StringBuilder defaultName = new StringBuilder(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
    defaultName.setCharAt(0, Character.toLowerCase(defaultName.charAt(0)));
    return defaultName.toString();
  } else if (annotated instanceof EnhancedAnnotatedField<?, ?>) {
    return ((EnhancedAnnotatedField<?, ?>) annotated).getPropertyName();
  } else if (annotated instanceof EnhancedAnnotatedMethod<?, ?>) {
    return ((EnhancedAnnotatedMethod<?, ?>) annotated).getPropertyName();
  } else {
    return null;
  }
}
origin: org.jboss.weld.servlet/weld-servlet-shaded

/**
 * Gets the default name of the bean
 *
 * @return The default name
 */
protected String getDefaultName(EnhancedAnnotated<?, ?> annotated) {
  if (annotated instanceof EnhancedAnnotatedType<?>) {
    StringBuilder defaultName = new StringBuilder(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
    defaultName.setCharAt(0, Character.toLowerCase(defaultName.charAt(0)));
    return defaultName.toString();
  } else if (annotated instanceof EnhancedAnnotatedField<?, ?>) {
    return ((EnhancedAnnotatedField<?, ?>) annotated).getPropertyName();
  } else if (annotated instanceof EnhancedAnnotatedMethod<?, ?>) {
    return ((EnhancedAnnotatedMethod<?, ?>) annotated).getPropertyName();
  } else {
    return null;
  }
}
origin: org.jboss.weld.se/weld-se

/**
 * Gets the default name of the bean
 *
 * @return The default name
 */
protected String getDefaultName(EnhancedAnnotated<?, ?> annotated) {
  if (annotated instanceof EnhancedAnnotatedType<?>) {
    if (manager.getServices().get(WeldConfiguration.class).getBooleanProperty(ConfigurationKey.DEFAULT_BEAN_NAMES_FOLLOW_JAVABEAN_RULES)) {
      // We need to fix WELD-1941 but still don't break existing applications
      return Introspector.decapitalize(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
    } else {
      StringBuilder defaultNameBuilder = new StringBuilder(((EnhancedAnnotatedType<?>) annotated).getSimpleName());
      defaultNameBuilder.setCharAt(0, Character.toLowerCase(defaultNameBuilder.charAt(0)));
      return defaultNameBuilder.toString();
    }
  } else if (annotated instanceof EnhancedAnnotatedField<?, ?>) {
    return ((EnhancedAnnotatedField<?, ?>) annotated).getPropertyName();
  } else if (annotated instanceof EnhancedAnnotatedMethod<?, ?>) {
    return ((EnhancedAnnotatedMethod<?, ?>) annotated).getPropertyName();
  } else {
    return null;
  }
}
org.jboss.weld.annotated.enhancedEnhancedAnnotatedFieldgetPropertyName

Javadoc

Gets the property name of the field

Popular methods of EnhancedAnnotatedField

  • getAnnotations
  • getBaseType
  • getDeclaringType
  • getJavaClass
  • getJavaMember
  • getName
  • getQualifiers
  • getTypeClosure
  • isAnnotationPresent
  • isFinal
  • isPublic
  • isStatic
  • isPublic,
  • isStatic,
  • slim,
  • isTransient

Popular in Java

  • Start an intent from android
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • runOnUiThread (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • DateFormat (java.text)
    Formats or parses dates and times.This class provides factories for obtaining instances configured f
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • Github Copilot 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