protected String getStyle(JvmGenericType type) { if (type.isInterface()) { return INTERFACE; } else if (type.isAbstract()) { return ABSTRACT_CLASS; } else { return CLASS; } }
@Override public boolean isAbstract() { return this.getDelegate().isAbstract(); }
bitset.set(4); if (jvm.isAbstract()) { bitset.set(5);
protected ITreeAppendable _generateModifier(final JvmGenericType it, final ITreeAppendable appendable, final GeneratorConfig config) { ITreeAppendable _xblockexpression = null; { this.generateVisibilityModifier(it, appendable); boolean _isInterface = it.isInterface(); boolean _not = (!_isInterface); if (_not) { boolean _isStatic = it.isStatic(); if (_isStatic) { appendable.append("static "); } boolean _isAbstract = it.isAbstract(); if (_isAbstract) { appendable.append("abstract "); } } boolean _isFinal = it.isFinal(); if (_isFinal) { appendable.append("final "); } ITreeAppendable _xifexpression = null; boolean _isStrictFloatingPoint = it.isStrictFloatingPoint(); if (_isStrictFloatingPoint) { _xifexpression = appendable.append("strictfp "); } _xblockexpression = _xifexpression; } return _xblockexpression; }
inferredJvmType.setAbstract(source.isAbstract()); inferredJvmType.setStrictFloatingPoint(source.isStrictFloatingPoint()); if (!inferredJvmType.isAbstract()) { inferredJvmType.setFinal(source.isFinal());
inferredJvmType.setAbstract(false); inferredJvmType.setStrictFloatingPoint(false); if (!inferredJvmType.isAbstract()) { inferredJvmType.setFinal(source.isFinal());
protected void doCheckOverriddenMethods(XtendTypeDeclaration xtendType, JvmGenericType inferredType, ResolvedFeatures resolvedFeatures, Set<EObject> flaggedOperations) { List<IResolvedOperation> operationsMissingImplementation = null; boolean doCheckAbstract = !inferredType.isAbstract(); if (doCheckAbstract) { operationsMissingImplementation = Lists.newArrayList();