Tabnine Logo
BasicBeanDescription.isGroovyMetaClassSetter
Code IndexAdd Tabnine to your IDE (free)

How to use
isGroovyMetaClassSetter
method
in
org.codehaus.jackson.map.introspect.BasicBeanDescription

Best Java code snippets using org.codehaus.jackson.map.introspect.BasicBeanDescription.isGroovyMetaClassSetter (Showing top 2 results out of 315)

origin: com.barchart.wrap/barchart-wrap-jackson

public String okNameForSetter(AnnotatedMethod am)
{
  String name = am.getName();
  /* For mutators, let's not require it to be public. Just need
   * to be able to call it, i.e. do need to 'fix' access if so
   * (which is done at a later point as needed)
   */
  if (name.startsWith("set")) {
    name = mangleSetterName(am, name.substring(3));
    if (name == null) { // plain old "set" is no good...
      return null;
    }
    if ("metaClass".equals(name)) {
      // 26-Nov-2009 [JACSON-103], need to suppress this internal groovy method
      if (isGroovyMetaClassSetter(am)) {
        return null;
      }
    }
    return name;
  }
  return null;
}
origin: org.codehaus.jackson/com.springsource.org.codehaus.jackson.mapper

public String okNameForSetter(AnnotatedMethod am)
{
  String name = am.getName();
  /* For mutators, let's not require it to be public. Just need
   * to be able to call it, i.e. do need to 'fix' access if so
   * (which is done at a later point as needed)
   */
  if (name.startsWith("set")) {
    name = mangleSetterName(am, name.substring(3));
    if (name == null) { // plain old "set" is no good...
      return null;
    }
    if ("metaClass".equals(name)) {
      // 26-Nov-2009 [JACSON-103], need to suppress this internal groovy method
      if (isGroovyMetaClassSetter(am)) {
        return null;
      }
    }
    return name;
  }
  return null;
}
org.codehaus.jackson.map.introspectBasicBeanDescriptionisGroovyMetaClassSetter

Javadoc

Similar to #isCglibGetCallbacks, need to suppress a cyclic reference to resolve [JACKSON-103]

Popular methods of BasicBeanDescription

  • getBeanClass
  • getClassInfo
  • <init>
  • _findPropertyFields
  • findAnySetter
    Method used to locate the method of introspected class that implements org.codehaus.jackson.annotate
  • findDefaultConstructor
    Method that will locate the no-arg constructor for this class, if it has one, and that constructor h
  • findFactoryMethod
    Method that can be called to find if introspected class declares a static "valueOf" factory method t
  • findJsonValueMethod
    Method for locating the getter method that is annotated with org.codehaus.jackson.annotate.JsonValue
  • findMethod
  • findProperties
  • findSerializationInclusion
    Method for determining whether null properties should be written out for a Bean of introspected type
  • findSingleArgConstructor
    Method that can be called to locate a single-arg constructor that takes specified exact type (will n
  • findSerializationInclusion,
  • findSingleArgConstructor,
  • getConstructors,
  • getFactoryMethods,
  • getType,
  • hasKnownClassAnnotations,
  • instantiateBean,
  • isFactoryMethod,
  • bindingsForBeanType,
  • findAnyGetter

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • Locale (java.util)
    Locale represents a language/country/variant combination. Locales are used to alter the presentatio
  • ExecutorService (java.util.concurrent)
    An Executor that provides methods to manage termination and methods that can produce a Future for tr
  • Executors (java.util.concurrent)
    Factory and utility methods for Executor, ExecutorService, ScheduledExecutorService, ThreadFactory,
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • 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