Package net.sf.co_op.coopiii.lang

Examples of net.sf.co_op.coopiii.lang.Boolean


    if (obj == null) {
      return Null.NULL;
    } else if (obj instanceof CoopObject) {
      return (CoopObject) obj;
    } else if (obj instanceof java.lang.Boolean) {
      return new Boolean(((java.lang.Boolean) obj).booleanValue());
    } else {
      return new JavaObjectWrapper(obj);
    }
  }
View Full Code Here


    }
  }
 
  public CoopObject isAnnotation() {
    try {
      return new Boolean(Annotation.class.isAssignableFrom(java.lang.Class.forName(name)));
    } catch (ClassNotFoundException e) {
      throw new Error(e);
    }
  }
View Full Code Here

      return null;
    }
  }
 
  public Boolean hasAnnotation(String elementName, Class annotationClass) {
    return new Boolean(
      annotations.containsKey(elementName) &&
      annotations.get(elementName).containsKey(annotationClass.toJavaClass().getCanonicalName())
    );
  }
View Full Code Here

TOP

Related Classes of net.sf.co_op.coopiii.lang.Boolean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.