ClassOrInterfaceType.isBoxedType
Code IndexAdd Codota to your IDE (free)

Best code snippets using com.github.javaparser.ast.type.ClassOrInterfaceType.isBoxedType(Showing top 2 results out of 315)

origin: com.github.javaparser/javaparser-core

public PrimitiveType toUnboxedType() throws UnsupportedOperationException {
  if (!isBoxedType()) {
    throw new UnsupportedOperationException(name + " isn't a boxed type.");
  }
  return new PrimitiveType(PrimitiveType.unboxMap.get(name.getIdentifier()));
}
origin: com.github.javaparser/javaparser-core

public PrimitiveType toUnboxedType() throws UnsupportedOperationException {
  if (!isBoxedType()) {
    throw new UnsupportedOperationException(name + " isn't a boxed type.");
  }
  return new PrimitiveType(PrimitiveType.unboxMap.get(name.getIdentifier()));
}
com.github.javaparser.ast.typeClassOrInterfaceTypeisBoxedType

Popular methods of ClassOrInterfaceType

  • <init>
  • getName
  • accept
  • getNameAsString
  • getScope
  • getTypeArgs
  • setName
  • setTypeArguments
    Sets the typeArguments
  • asString
  • customInitialization
  • findCompilationUnit
  • getAnnotations
  • findCompilationUnit,
  • getAnnotations,
  • getComment,
  • getParentNode,
  • getSymbolResolver,
  • getTokenRange,
  • getTypeArguments,
  • hashCode,
  • isUsingDiamondOperator

Popular classes and methods

  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • GridBagLayout (java.awt)
  • MalformedURLException (java.net)
    Thrown to indicate that a malformed URL has occurred. Either no legal protocol could be found in a s
  • ResultSet (java.sql)
    A table of data representing a database result set, which is usually generated by executing a statem
  • List (java.util)
    A List is a collection which maintains an ordering for its elements. Every element in the List has a
  • ResourceBundle (java.util)
    ResourceBundle is an abstract class which is the superclass of classes which provide Locale-specifi
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base

For IntelliJ IDEA and
Android Studio

  • Codota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutContact Us
  • Terms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)