Codota Logo
ConstructorUtils.isClassSimple
Code IndexAdd Codota to your IDE (free)

How to use
isClassSimple
method
in
org.azeckoski.reflectutils.ConstructorUtils

Best Java code snippets using org.azeckoski.reflectutils.ConstructorUtils.isClassSimple (Showing top 19 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
origin: org.sakaiproject.kernel/sakai-kernel-impl

/**
 * Determine if an object is a primitive type
 * @param object any object
 * @return true if the object is a String or primitive class type
 */
private boolean isObjectSimple(Object object) {
  boolean primitive = false;
  if (object != null) {
    Class clazz = object.getClass();
    primitive = clazz.isPrimitive() || ConstructorUtils.isClassSimple(clazz);
  }
  return primitive;
}
origin: azeckoski/reflectutils

/**
 * @param type any class
 * @return true if this class is a bean of some kind (i.e. not primitive, immutable, or a holder like a map)
 */
public static boolean isClassBean(Class<?> type) {
  checkNull(type);
  boolean bean = true;
  if ( isClassSimple(type) || isClassObjectHolder(type) ) {
    bean = false;
  }
  return bean;
}
origin: org.azeckoski/reflectutils

/**
 * @param type any class
 * @return true if this class is a bean of some kind (i.e. not primitive, immutable, or a holder like a map)
 */
public static boolean isClassBean(Class<?> type) {
  checkNull(type);
  boolean bean = true;
  if ( isClassSimple(type) || isClassObjectHolder(type) ) {
    bean = false;
  }
  return bean;
}
origin: azeckoski/reflectutils

} else {
  if (ConstructorUtils.isClassSimple(fromType)) {
    convert.put("data", toConvert);
  } else {
origin: org.azeckoski/reflectutils

} else {
  if (ConstructorUtils.isClassSimple(fromType)) {
    convert.put("data", toConvert);
  } else {
origin: org.azeckoski/reflectutils

Class<?> componentType = fromType.getComponentType();
if ( String.class.equals(toType) 
    && ConstructorUtils.isClassSimple(componentType)) {
  return (T) ArrayUtils.arrayToString((Object[]) value);
} else {
    && ! ConstructorUtils.isClassSimple(toType) ) {
origin: azeckoski/reflectutils

Class<?> componentType = fromType.getComponentType();
if ( String.class.equals(toType) 
    && ConstructorUtils.isClassSimple(componentType)) {
  return (T) ArrayUtils.arrayToString((Object[]) value);
} else {
    && ! ConstructorUtils.isClassSimple(toType) ) {
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassSimple(type) ) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassSimple(type) ) {
origin: org.azeckoski/reflectutils

Object value = entry.getValue();
try {
  if ( ConstructorUtils.isClassSimple(targetType) ) {
origin: azeckoski/reflectutils

Object value = entry.getValue();
try {
  if ( ConstructorUtils.isClassSimple(targetType) ) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassSimple(type) ) {
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassSimple(type) ) {
origin: azeckoski/reflectutils

if ( ConstructorUtils.isClassSimple(type) ) {
origin: sakaiproject/sakai

sb.append("      <entityClass>\n");
sb.append("        <class>"+ entityType.getName() +"</class>\n");
if (ConstructorUtils.isClassSimple(entityType)) {
  sb.append("        <type>simple</type>\n");
} else if (ConstructorUtils.isClassCollection(entityType)) {
sb.append("      <h4 style='padding-left:0.5em;margin-bottom:0.2em;'>"+entityProperties.getProperty(DESCRIBE, "describe.entity.class", locale)+" : "+ entityType.getName() +"</h4>\n");
sb.append("      <div style='padding-left:1em;padding-bottom:1em;'>\n");
if (ConstructorUtils.isClassSimple(entityType)) {
  sb.append( makeResolveType("simple", null, locale));
} else if (ConstructorUtils.isClassCollection(entityType)) {
origin: org.azeckoski/reflectutils

if ( ConstructorUtils.isClassSimple(type) ) {
origin: org.sakaiproject.entitybroker/entitybroker-restimpl

sb.append("      <entityClass>\n");
sb.append("        <class>"+ entityType.getName() +"</class>\n");
if (ConstructorUtils.isClassSimple(entityType)) {
  sb.append("        <type>simple</type>\n");
} else if (ConstructorUtils.isClassCollection(entityType)) {
sb.append("      <h4 style='padding-left:0.5em;margin-bottom:0.2em;'>"+entityProperties.getProperty(DESCRIBE, "describe.entity.class", locale)+" : "+ entityType.getName() +"</h4>\n");
sb.append("      <div style='padding-left:1em;padding-bottom:1em;'>\n");
if (ConstructorUtils.isClassSimple(entityType)) {
  sb.append( makeResolveType("simple", null, locale));
} else if (ConstructorUtils.isClassCollection(entityType)) {
origin: org.azeckoski/reflectutils

Class<?> beanClass = bean.getClass();
if (ConstructorUtils.isClassSimple(beanClass) 
    || ConstructorUtils.isClassSpecial(beanClass)) {
origin: azeckoski/reflectutils

Class<?> beanClass = bean.getClass();
if (ConstructorUtils.isClassSimple(beanClass) 
    || ConstructorUtils.isClassSpecial(beanClass)) {
org.azeckoski.reflectutilsConstructorUtilsisClassSimple

Popular methods of ConstructorUtils

  • isClassBean
  • isClassMap
  • isClassArray
  • isClassCollection
  • <init>
    Empty constructor WARNING: use the #getInstance() method to get this rather than recreating it over
  • checkNull
  • classAssignable
    Checks if assignFrom is assignable to assignTo (i.e. this is OK: assignFrom b; assignTo a = (assignT
  • classEquals
    Will compare 2 classes for equality which will make a friendly comparison of types and will happily
  • constructClass
    Construct an object for the class of the given type with the given params (arguments), arguments mus
  • getClassDataCacher
  • getClassFromInterface
    Gets a valid class which can be constructed from an interface or special cases which cannot be const
  • getDefaultValue
    Get the default value for for a type if one is available OR null if there is no default (since null
  • getClassFromInterface,
  • getDefaultValue,
  • getExtendAndInterfacesForClass,
  • getImmutableDefaults,
  • getImmutableTypes,
  • getInstance,
  • getInterfacesForClass,
  • getPrimitiveDefaults,
  • getPrimitiveToWrapper

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • setContentView (Activity)
  • getSharedPreferences (Context)
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • HashSet (java.util)
    This class implements the Set interface, backed by a hash table (actually a HashMap instance). It m
  • TimerTask (java.util)
    A task that can be scheduled for one-time or repeated execution by a Timer.
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now