Package no.hal.jex

Examples of no.hal.jex.ClassKind


      if (! (jdtMember instanceof IType)) {
        throw new IllegalArgumentException("Cannot init JavaClass from " + jdtMember);
      }
      JavaClass jexClass = (JavaClass) jexMember;
      IType jdtType = (IType) jdtMember;
      ClassKind kind = ClassKind.CLASS_KIND;
      if (jdtType.isInterface()) {
        kind = ClassKind.INTERFACE_KIND;
      } else if (jdtType.isEnum()) {
        kind = ClassKind.ENUM_KIND;
      }
View Full Code Here


   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public ClassKind createClassKindFromString(EDataType eDataType, String initialValue) {
    ClassKind result = ClassKind.get(initialValue);
    if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
    return result;
  }
View Full Code Here

   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   * @generated
   */
  public void setClassKind(ClassKind newClassKind) {
    ClassKind oldClassKind = classKind;
    classKind = newClassKind == null ? CLASS_KIND_EDEFAULT : newClassKind;
    if (eNotificationRequired())
      eNotify(new ENotificationImpl(this, Notification.SET, JexPackage.JAVA_CLASS__CLASS_KIND, oldClassKind, classKind));
  }
View Full Code Here

TOP

Related Classes of no.hal.jex.ClassKind

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.