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

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • setRequestProperty (URLConnection)
  • setContentView (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • Top 17 Plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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