congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
IType.isLambda
Code IndexAdd Tabnine to your IDE (free)

How to use
isLambda
method
in
org.eclipse.jdt.core.IType

Best Java code snippets using org.eclipse.jdt.core.IType.isLambda (Showing top 20 results out of 315)

origin: eclipse/eclipse.jdt.ls

public static boolean isUseSuperTypeAvailable(final IType type) throws JavaModelException {
  return type != null && type.exists() && !type.isAnnotation() && !type.isAnonymous() && !type.isLambda();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

public static boolean isUseSuperTypeAvailable(final IType type) throws JavaModelException {
  return type != null && type.exists() && !type.isAnnotation() && !type.isAnonymous() && !type.isLambda();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

public static boolean isRenameAvailable(final IType type) throws JavaModelException {
  if (type == null)
    return false;
  if (type.isAnonymous())
    return false;
  if (type.isLambda())
    return false;
  if (!Checks.isAvailable(type))
    return false;
  if (isRenameProhibited(type))
    return false;
  return true;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

public static boolean isRenameAvailable(final IType type) throws JavaModelException {
  if (type == null)
    return false;
  if (type.isAnonymous())
    return false;
  if (type.isLambda())
    return false;
  if (!Checks.isAvailable(type))
    return false;
  if (isRenameProhibited(type))
    return false;
  return true;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

public static boolean isUseSuperTypeAvailable(final IType type) throws JavaModelException {
  return type != null && type.exists() && !type.isAnnotation() && !type.isAnonymous() && !type.isLambda();
}
origin: eclipse/eclipse.jdt.ls

public static boolean isRenameAvailable(final IType type) throws JavaModelException {
  if (type == null) {
    return false;
  }
  if (type.isAnonymous()) {
    return false;
  }
  if (type.isLambda()) {
    return false;
  }
  if (!Checks.isAvailable(type)) {
    return false;
  }
  if (isRenameProhibited(type)) {
    return false;
  }
  return true;
}
origin: eclipse/eclipse.jdt.ls

  public static boolean isExtractClassAvailable(IType type) throws JavaModelException {
    if (type == null) {
      return false;
    }
    if (!type.exists()) {
      return false;
    }
    return ReorgUtils.isInsideCompilationUnit(type) && type.isClass() && !type.isAnonymous() && !type.isLambda();
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

  public static boolean isExtractClassAvailable(IType type) throws JavaModelException {
    if (type == null)
      return false;
    if (!type.exists())
      return false;
    return ReorgUtils.isInsideCompilationUnit(type) && type.isClass() && !type.isAnonymous()  && !type.isLambda();
  }
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

  public static boolean isExtractClassAvailable(IType type) throws JavaModelException {
    if (type == null)
      return false;
    if (!type.exists())
      return false;
    return ReorgUtils.isInsideCompilationUnit(type) && type.isClass() && !type.isAnonymous()  && !type.isLambda();
  }
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

@Override
public int category(Object element) {
  if (element instanceof IType) {
    IType type= (IType) element;
    try {
      if (type.isAnonymous() || type.isLambda()) {
        return ANONYM;
      }
    } catch (JavaModelException e1) {
      if (type.getElementName().length() == 0) {
        return ANONYM;
      }
    }
    try {
      int flags= getTypeFlags(type);
      if (Flags.isInterface(flags)) {
        return INTERFACE;
      } else {
        return CLASS;
      }
    } catch (JavaModelException e) {
      // ignore
    }
  }
  return OTHER;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

@Override
public int category(Object element) {
  if (element instanceof IType) {
    IType type= (IType) element;
    try {
      if (type.isAnonymous() || type.isLambda()) {
        return ANONYM;
      }
    } catch (JavaModelException e1) {
      if (type.getElementName().length() == 0) {
        return ANONYM;
      }
    }
    try {
      int flags= getTypeFlags(type);
      if (Flags.isInterface(flags)) {
        return INTERFACE;
      } else {
        return CLASS;
      }
    } catch (JavaModelException e) {
      // ignore
    }
  }
  return OTHER;
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

if (member instanceof IType) {
  IType type= (IType) member;
  if (type.isAnonymous() || type.isLambda()) {
    return null;
origin: eclipse/eclipse.jdt.ls

public static boolean isExtractInterfaceAvailable(final IType type) throws JavaModelException {
  return Checks.isAvailable(type) && !type.isBinary() && !type.isReadOnly() && !type.isAnnotation() && !type.isAnonymous() && !type.isLambda();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

public static boolean isExtractInterfaceAvailable(final IType type) throws JavaModelException {
  return Checks.isAvailable(type) && !type.isBinary() && !type.isReadOnly() && !type.isAnnotation() && !type.isAnonymous() && !type.isLambda();
}
origin: org.eclipse.jdt/org.eclipse.jdt.ui

public static boolean isExtractInterfaceAvailable(final IType type) throws JavaModelException {
  return Checks.isAvailable(type) && !type.isBinary() && !type.isReadOnly() && !type.isAnnotation() && !type.isAnonymous() && !type.isLambda();
}
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

if (((IType)fEnclosingElement).isLambda() && element.getElementType() == IJavaElement.METHOD) {
origin: org.eclipse.jdt/org.eclipse.jdt.ui

if (((IType)fEnclosingElement).isLambda() && element.getElementType() == IJavaElement.METHOD) {
origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui

if (((IType)member).isAnonymous())
  return false; // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=253727
if (((IType)member).isLambda())
  return false;
origin: org.eclipse.jdt/org.eclipse.jdt.ui

if (((IType)member).isAnonymous())
  return false; // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=253727
if (((IType)member).isLambda())
  return false;
origin: eclipse/eclipse.jdt.ls

  return false; // see https://bugs.eclipse.org/bugs/show_bug.cgi?id=253727
if (((IType) member).isLambda()) {
  return false;
org.eclipse.jdt.coreITypeisLambda

Javadoc

Returns whether this type represents a lambda expression.

Popular methods of IType

  • getFullyQualifiedName
    Returns the fully qualified name of this type, including qualification for any containing types and
  • getElementName
    Returns the simple name of this type, unqualified by package or enclosing type. This is a handle-onl
  • getMethods
    Returns the methods and constructors declared by this type. For binary types, this may include the s
  • getFlags
  • getPackageFragment
    Returns the package fragment in which this element is defined. This is a handle-only method.
  • getCompilationUnit
  • newSupertypeHierarchy
    Creates and returns a type hierarchy for this type containing this type and all of its supertypes, c
  • exists
  • getJavaProject
  • isInterface
    Returns whether this type represents an interface. Note that an interface can also be an annotation
  • getDeclaringType
  • getMethod
    Returns the method with the specified name and parameter types in this type (for example, "foo", {"I
  • getDeclaringType,
  • getMethod,
  • getParent,
  • isClass,
  • getSourceRange,
  • newTypeHierarchy,
  • isAnonymous,
  • isBinary,
  • getResource,
  • getTypeParameters

Popular in Java

  • Start an intent from android
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getApplicationContext (Context)
  • getExternalFilesDir (Context)
  • EOFException (java.io)
    Thrown when a program encounters the end of a file or stream during an input operation.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • 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