@Override public boolean isStatic() { return this.getDelegate().isStatic(); }
protected boolean isInner(JvmType type) { if (type != null && type.eClass() == TypesPackage.Literals.JVM_GENERIC_TYPE) { if (type.eContainer() instanceof JvmDeclaredType) { return !((JvmGenericType) type).isStatic(); } } return false; }
protected boolean isInner(JvmType type) { if (type.eClass() == TypesPackage.Literals.JVM_GENERIC_TYPE) { if (type.eContainer() instanceof JvmDeclaredType) { return !((JvmGenericType) type).isStatic(); } } return false; }
protected boolean hasTypeParameters(JvmGenericType type) { if (!type.getTypeParameters().isEmpty()) { return true; } if (type.eContainer() instanceof JvmGenericType && !type.isStatic()) { return hasTypeParameters((JvmGenericType) type.eContainer()); } return false; }
if (!casted.isStatic() && casted.eContainer() instanceof JvmType) { JvmParameterizedTypeReference outer = createTypeRef((JvmType)casted.eContainer()); reference = factory.createJvmInnerTypeReference();
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; }