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

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

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

origin: io.sarl.lang/io.sarl.lang

private boolean isAppendComparisonFunctionsEnable(GenerationContext context, JvmGenericType target) {
  if (context.getGeneratorConfig2().isGenerateEqualityTestFunctions()) {
    JvmGenericType current = target;
    final Set<String> encounteredTypes = new TreeSet<>();
    do {
      encounteredTypes.add(current.getIdentifier());
      if (this.annotationFinder.findAnnotation(current, NoEqualityTestFunctionsGeneration.class) != null) {
        return false;
      }
      final JvmTypeReference superType = current.getExtendedClass();
      current = null;
      if (superType != null) {
        final JvmType type = superType.getType();
        if (type instanceof JvmGenericType) {
          current = (JvmGenericType) type;
          if (encounteredTypes.contains(current.getIdentifier())) {
            current = null;
          }
        }
      }
    } while (current != null);
    return true;
  }
  return false;
}
origin: org.eclipse.xtend/org.eclipse.xtend.core

  return;
Iterable<JvmConstructor> constructors = filter(inferredType.getMembers(), JvmConstructor.class);
if(inferredType.getExtendedClass() != null) {
  JvmType superType = inferredType.getExtendedClass().getType();
  if(superType instanceof JvmGenericType) {
    Iterable<JvmConstructor> superConstructors = ((JvmGenericType) superType).getDeclaredConstructors();
origin: io.sarl.lang/io.sarl.lang

final JvmTypeReference reference = target.getExtendedClass();
if (reference != null) {
  final JvmType type = reference.getType();
origin: org.eclipse.xtend/org.eclipse.xtend.core

public void registerAllTypes(final JvmType type, final Function1<? super String, ? extends Boolean> acceptor) {
 if (((type == null) || type.eIsProxy())) {
  return;
 }
 if (((!this.isLocal(type)) && (acceptor.apply(type.getIdentifier())).booleanValue())) {
  boolean _matched = false;
  if (type instanceof JvmGenericType) {
   _matched=true;
   this.registerAllTypes(((JvmGenericType)type).getDeclaringType(), acceptor);
   JvmTypeReference _extendedClass = null;
   if (((JvmGenericType)type)!=null) {
    _extendedClass=((JvmGenericType)type).getExtendedClass();
   }
   JvmType _type = null;
   if (_extendedClass!=null) {
    _type=_extendedClass.getType();
   }
   this.registerAllTypes(_type, acceptor);
   final Consumer<JvmTypeReference> _function = (JvmTypeReference it) -> {
    JvmType _type_1 = null;
    if (it!=null) {
     _type_1=it.getType();
    }
    this.registerAllTypes(_type_1, acceptor);
   };
   ((JvmGenericType)type).getExtendedInterfaces().forEach(_function);
  }
 }
}

org.eclipse.xtext.common.typesJvmGenericTypegetExtendedClass

Javadoc

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

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • findViewById (Activity)
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • SocketTimeoutException (java.net)
    This exception is thrown when a timeout expired on a socket read or accept operation.
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • JCheckBox (javax.swing)
  • JLabel (javax.swing)
  • Loader (org.hibernate.loader)
    Abstract superclass of object loading (and querying) strategies. This class implements useful common
  • Top plugins for Android Studio
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