congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
ObjectType.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
me.jamiemansfield.bombe.type.ObjectType
constructor

Best Java code snippets using me.jamiemansfield.bombe.type.ObjectType.<init> (Showing top 4 results out of 315)

origin: me.jamiemansfield/bombe-core

return new ObjectType(klass.getName());
origin: me.jamiemansfield/bombe-core

/**
 * Reads the next {@link ObjectType} from source.
 *
 * @return The type
 * @throws IllegalStateException If the descriptor is invalid
 */
public ObjectType readObjectType() {
  final int start = this.current;
  this.advance();
  while (this.hasNext() && this.peek() != ';') {
    this.advance();
  }
  if (this.peek() != ';') throw new IllegalStateException("Incomplete descriptor provided!");
  this.advance();
  return new ObjectType(this.source.substring(start + 1, this.current - 1));
}
origin: me.jamiemansfield/lorenz

private static FieldType handleNonePrefix(final FieldType type) {
  if (type instanceof ArrayType) {
    final ArrayType arr = (ArrayType) type;
    return new ArrayType(arr.getDimCount(), handleNonePrefix(arr.getComponent()));
  }
  if (type instanceof ObjectType) {
    final ObjectType obj = (ObjectType) type;
    return new ObjectType(handleNonePrefix(obj.getClassName()));
  }
  return type;
}
origin: me.jamiemansfield/lorenz

private static FieldType handleNonePrefix(final FieldType type) {
  if (type instanceof ArrayType) {
    final ArrayType arr = (ArrayType) type;
    return new ArrayType(arr.getDimCount(), handleNonePrefix(arr.getComponent()));
  }
  if (type instanceof ObjectType) {
    final ObjectType obj = (ObjectType) type;
    return new ObjectType(handleNonePrefix(obj.getClassName()));
  }
  return type;
}
me.jamiemansfield.bombe.typeObjectType<init>

Javadoc

Creates a new object type, of the given class name.

Popular methods of ObjectType

  • getClassName
    Gets the name of the class of the object.
  • equals

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • Proxy (java.net)
    This class represents proxy server settings. A created instance of Proxy stores a type and an addres
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JLabel (javax.swing)
  • PhpStorm for WordPress
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