Tabnine Logo
JvmGenericType.isStatic
Code IndexAdd Tabnine to your IDE (free)

How to use
isStatic
method
in
org.eclipse.xtext.common.types.JvmGenericType

Best Java code snippets using org.eclipse.xtext.common.types.JvmGenericType.isStatic (Showing top 6 results out of 315)

origin: org.eclipse.xtend/org.eclipse.xtend.core

@Override
public boolean isStatic() {
 return this.getDelegate().isStatic();
}

origin: org.eclipse.xtext/org.eclipse.xtext.xbase

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;
}
origin: org.eclipse.xtext/org.eclipse.xtext.xbase

protected boolean isInner(JvmType type) {
  if (type.eClass() == TypesPackage.Literals.JVM_GENERIC_TYPE) {
    if (type.eContainer() instanceof JvmDeclaredType) {
      return !((JvmGenericType) type).isStatic();
    }
  }
  return false;
}

origin: org.eclipse.xtext/org.eclipse.xtext.xbase

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;
}
origin: org.eclipse.xtext/org.eclipse.xtext.common.types

if (!casted.isStatic() && casted.eContainer() instanceof JvmType) {
  JvmParameterizedTypeReference outer = createTypeRef((JvmType)casted.eContainer());
  reference = factory.createJvmInnerTypeReference();
origin: org.eclipse.xtext/org.eclipse.xtext.xbase

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;
}

org.eclipse.xtext.common.typesJvmGenericTypeisStatic

Popular methods of JvmGenericType

  • getMembers
  • isInterface
    Returns the value of the 'Interface' attribute. If the meaning of the 'Interface' attribute isn't cl
  • getSuperTypes
  • getTypeParameters
  • getDeclaredConstructors
  • setAbstract
  • setInterface
    Sets the value of the ' org.eclipse.xtext.common.types.JvmGenericType#isInterface' attribute.
  • setPackageName
  • setSimpleName
  • setVisibility
  • getAllFeatures
  • getSimpleName
  • getAllFeatures,
  • getSimpleName,
  • isAbstract,
  • setFinal,
  • setStatic,
  • setStrictFloatingPoint,
  • getDeclaredFields,
  • getDeclaredOperations,
  • getIdentifier,
  • isFinal

Popular in Java

  • Start an intent from android
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • getResourceAsStream (ClassLoader)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now