congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
JvmGenericType.getDeclaredOperations
Code IndexAdd Tabnine to your IDE (free)

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

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

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

protected ArrayList<JvmMember> getAddedDeclarations(final JvmGenericType it, final AnonymousClass anonymousClass) {
 final ArrayList<JvmMember> result = CollectionLiterals.<JvmMember>newArrayList();
 final JvmConstructor constructor = anonymousClass.getConstructorCall().getConstructor();
 int _size = constructor.getParameters().size();
 boolean _greaterEqualsThan = (_size >= 1);
 if (_greaterEqualsThan) {
  result.add(0, constructor);
 }
 Iterable<JvmField> _declaredFields = it.getDeclaredFields();
 Iterables.<JvmMember>addAll(result, _declaredFields);
 final Function1<JvmOperation, Boolean> _function = (JvmOperation it_1) -> {
  EObject _head = IterableExtensions.<EObject>head(this.getSourceElements(it_1));
  final XtendFunction function = ((XtendFunction) _head);
  boolean _isOverride = function.isOverride();
  return Boolean.valueOf((!_isOverride));
 };
 Iterable<JvmOperation> _filter = IterableExtensions.<JvmOperation>filter(it.getDeclaredOperations(), _function);
 Iterables.<JvmMember>addAll(result, _filter);
 Iterable<JvmDeclaredType> _filter_1 = Iterables.<JvmDeclaredType>filter(it.getMembers(), JvmDeclaredType.class);
 Iterables.<JvmMember>addAll(result, _filter_1);
 return result;
}

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

boolean isEqualsUserDefined = false;
boolean isHashCodeUserDefined = false;
for (final JvmOperation operation : target.getDeclaredOperations()) {
  if (Objects.equal(EQUALS_FUNCTION_NAME, operation.getSimpleName())
      && operation.getParameters().size() == 1
origin: org.eclipse.emf.parsley/org.eclipse.emf.parsley.dsl

@Check
public void checkModule(final org.eclipse.emf.parsley.dsl.model.Module module) {
 final JvmGenericType guiceModuleClass = this._emfParsleyDslGuiceModuleHelper.getModuleInferredType(module);
 if ((guiceModuleClass == null)) {
  return;
 }
 final PartsSpecifications partsSpecifications = module.getPartsSpecifications();
 if ((partsSpecifications != null)) {
  this.checkDuplicateViewSpecifications(partsSpecifications.getParts());
 }
 final Iterable<JvmOperation> methods = guiceModuleClass.getDeclaredOperations();
 boolean _isEmpty = IterableExtensions.isEmpty(methods);
 if (_isEmpty) {
  return;
 }
 this.checkDuplicateBindings(methods);
 this.checkCorrectValueBindings(guiceModuleClass, methods, module);
 Iterable<JvmGenericType> _allWithExtendsClauseInferredJavaTypes = this._emfParsleyDslGuiceModuleHelper.getAllWithExtendsClauseInferredJavaTypes(module);
 for (final JvmGenericType t : _allWithExtendsClauseInferredJavaTypes) {
  this.checkDuplicateSpecifications(t);
 }
}

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

  return;
for (final JvmOperation operation : target.getDeclaredOperations()) {
  if (CLONE_FUNCTION_NAME.equals(operation.getSimpleName())) {
    return;
org.eclipse.xtext.common.typesJvmGenericTypegetDeclaredOperations

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,
  • getIdentifier,
  • isFinal

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • getSharedPreferences (Context)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Menu (java.awt)
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • Runner (org.openjdk.jmh.runner)
  • 21 Best Atom Packages for 2021
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