| Modifier and Type | Class and Description |
|---|---|
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final Type | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private static JavaType | |
| private final boolean | |
| private final JavaType. | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private | |
| private | |
| private | |
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private String | |
| private String | |
| public Object | |
| public static JavaType | createForCArray(final Type elementType)
Creates a JavaType corresponding to an array of the given element type. |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | createForCStruct(final String name)
Creates a JavaType corresponding to the specified C CompoundType name; for example, if "Foo" is supplied, then this JavaType represents a "Foo *" by way of a StructAccessor. |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | createForOpaqueClass(final Class<?> clazz)
Creates a JavaType corresponding to the given opaque Java type. |
| private String | |
| private String | |
| public boolean | equals(final Object
the reference object with which to compare. arg)Overrides java. |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public static JavaType | |
| public String | |
| public String | |
| public Type | |
| public JavaType | |
| public Class | |
| public String | |
| public int | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public boolean | |
| public String | jniTypeName()
Returns the String corresponding to the JNI type for this type, or NULL if it can't be represented (i.e., it's a boxing class that we need to call getBuffer() on.) |
| public String |
| clazz | back to summary |
|---|---|
| private final Class<?> clazz | |
| elementType | back to summary |
|---|---|
| private final Type elementType | |
| nioBufferType | back to summary |
|---|---|
| private static JavaType nioBufferType | |
| nioByteBufferArrayType | back to summary |
|---|---|
| private static JavaType nioByteBufferArrayType | |
| nioByteBufferType | back to summary |
|---|---|
| private static JavaType nioByteBufferType | |
| nioDoubleBufferType | back to summary |
|---|---|
| private static JavaType nioDoubleBufferType | |
| nioFloatBufferType | back to summary |
|---|---|
| private static JavaType nioFloatBufferType | |
| nioIntBufferType | back to summary |
|---|---|
| private static JavaType nioIntBufferType | |
| nioLongBufferType | back to summary |
|---|---|
| private static JavaType nioLongBufferType | |
| nioPointerBufferType | back to summary |
|---|---|
| private static JavaType nioPointerBufferType | |
| nioShortBufferType | back to summary |
|---|---|
| private static JavaType nioShortBufferType | |
| opaqued | back to summary |
|---|---|
| private final boolean opaqued | |
| primitivePointerType | back to summary |
|---|---|
| private final JavaType. | |
| structName | back to summary |
|---|---|
| private final String structName | |
| JavaType | back to summary |
|---|---|
| private JavaType(final Class<?> clazz, final boolean opaqued) Constructs a representation for a type corresponding to the given Class argument. | |
| JavaType | back to summary |
|---|---|
| private JavaType(final String structName) Constructs a type representing a named C struct. | |
| JavaType | back to summary |
|---|---|
| private JavaType(final JavaType. Constructs a type representing a pointer to a C primitive (integer, floating-point, or void pointer) type. | |
| JavaType | back to summary |
|---|---|
| private JavaType(final Type elementType) Constructs a type representing an array of C pointers. | |
| JavaType | back to summary |
|---|---|
| private JavaType(final JavaType. clone only | |
| append | back to summary |
|---|---|
| private void append(final StringBuilder sb, final String val, final boolean prepComma) | |
| arrayDescriptor | back to summary |
|---|---|
| private String arrayDescriptor(Class<?> clazz) | |
| arrayName | back to summary |
|---|---|
| private String arrayName(Class<?> clazz) | |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Doc from java. Creates and returns a copy of this object. The precise meaning
of "copy" may depend on the class of the object. The general
intent is that, for any object will be true, and that the expression:x.clone() != x will bex.clone().getClass() == x.getClass() true, but these are not absolute requirements.
While it is typically the case that:
will bex.clone().equals(x) true, this is not an absolute requirement.
By convention, the returned object should be obtained by calling
By convention, the object returned by this method should be independent
of this object (which is being cloned). To achieve this independence,
it may be necessary to modify one or more fields of the object returned
by | |
| createForCArray | back to summary |
|---|---|
| public static JavaType createForCArray(final Type elementType) Creates a JavaType corresponding to an array of the given element type. This is used to represent arrays of "Foo **" which should be mapped to Foo[] in Java. | |
| createForCCharPointer | back to summary |
|---|---|
| public static JavaType createForCCharPointer() | |
| createForCDoublePointer | back to summary |
|---|---|
| public static JavaType createForCDoublePointer() | |
| createForCFloatPointer | back to summary |
|---|---|
| public static JavaType createForCFloatPointer() | |
| createForCInt32Pointer | back to summary |
|---|---|
| public static JavaType createForCInt32Pointer() | |
| createForCInt64Pointer | back to summary |
|---|---|
| public static JavaType createForCInt64Pointer() | |
| createForClass | back to summary |
|---|---|
| public static JavaType createForClass(final Class<?> clazz) Creates a JavaType corresponding to the given Java type. This can be used to represent arrays of primitive values or Strings; the emitters understand how to perform proper conversion from the corresponding C type. | |
| createForCShortPointer | back to summary |
|---|---|
| public static JavaType createForCShortPointer() | |
| createForCStruct | back to summary |
|---|---|
| public static JavaType createForCStruct(final String name) Creates a JavaType corresponding to the specified C CompoundType name; for example, if "Foo" is supplied, then this JavaType represents a "Foo *" by way of a StructAccessor. | |
| createForCVoidPointer | back to summary |
|---|---|
| public static JavaType createForCVoidPointer() | |
| createForJNIEnv | back to summary |
|---|---|
| public static JavaType createForJNIEnv() | |
| createForOpaqueClass | back to summary |
|---|---|
| public static JavaType createForOpaqueClass(final Class<?> clazz) Creates a JavaType corresponding to the given opaque Java type. This can be used to represent arrays of primitive values or Strings; the emitters understand how to perform proper conversion from the corresponding C type. | |
| descriptor | back to summary |
|---|---|
| private String descriptor(final Class<?> clazz) | |
| descriptor | back to summary |
|---|---|
| private String descriptor(final String referenceTypeName) | |
| equals | back to summary |
|---|---|
| public boolean equals(final Object arg) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| forNIOBufferClass | back to summary |
|---|---|
| public static JavaType forNIOBufferClass() | |
| forNIOByteBufferArrayClass | back to summary |
|---|---|
| public static JavaType forNIOByteBufferArrayClass() | |
| forNIOByteBufferClass | back to summary |
|---|---|
| public static JavaType forNIOByteBufferClass() | |
| forNIODoubleBufferClass | back to summary |
|---|---|
| public static JavaType forNIODoubleBufferClass() | |
| forNIOFloatBufferClass | back to summary |
|---|---|
| public static JavaType forNIOFloatBufferClass() | |
| forNIOIntBufferClass | back to summary |
|---|---|
| public static JavaType forNIOIntBufferClass() | |
| forNIOLongBufferClass | back to summary |
|---|---|
| public static JavaType forNIOLongBufferClass() | |
| forNIOPointerBufferClass | back to summary |
|---|---|
| public static JavaType forNIOPointerBufferClass() | |
| forNIOShortBufferClass | back to summary |
|---|---|
| public static JavaType forNIOShortBufferClass() | |
| getDebugString | back to summary |
|---|---|
| public String getDebugString() | |
| getDescriptor | back to summary |
|---|---|
| public String getDescriptor() Returns the descriptor (internal type signature) corresponding to this type. | |
| getElementCType | back to summary |
|---|---|
| public Type getElementCType() | |
| getElementType | back to summary |
|---|---|
| public JavaType getElementType() | |
| getJavaClass | back to summary |
|---|---|
| public Class Returns the Java Class corresponding to this type. Returns null if this object corresponds to a C primitive array type. | |
| getName | back to summary |
|---|---|
| public String getName() Returns the Java type name corresponding to this type. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isArray | back to summary |
|---|---|
| public boolean isArray() | |
| isArrayOfCompoundTypeWrappers | back to summary |
|---|---|
| public boolean isArrayOfCompoundTypeWrappers() | |
| isByte | back to summary |
|---|---|
| public boolean isByte() | |
| isByteArray | back to summary |
|---|---|
| public boolean isByteArray() | |
| isCCharPointerType | back to summary |
|---|---|
| public boolean isCCharPointerType() | |
| isCDoublePointerType | back to summary |
|---|---|
| public boolean isCDoublePointerType() | |
| isCFloatPointerType | back to summary |
|---|---|
| public boolean isCFloatPointerType() | |
| isCInt32PointerType | back to summary |
|---|---|
| public boolean isCInt32PointerType() | |
| isCInt64PointerType | back to summary |
|---|---|
| public boolean isCInt64PointerType() | |
| isCompoundTypeWrapper | back to summary |
|---|---|
| public boolean isCompoundTypeWrapper() | |
| isCPrimitivePointerType | back to summary |
|---|---|
| public boolean isCPrimitivePointerType() | |
| isCShortPointerType | back to summary |
|---|---|
| public boolean isCShortPointerType() | |
| isCVoidPointerType | back to summary |
|---|---|
| public boolean isCVoidPointerType() | |
| isDouble | back to summary |
|---|---|
| public boolean isDouble() | |
| isDoubleArray | back to summary |
|---|---|
| public boolean isDoubleArray() | |
| isFloat | back to summary |
|---|---|
| public boolean isFloat() | |
| isFloatArray | back to summary |
|---|---|
| public boolean isFloatArray() | |
| isInt | back to summary |
|---|---|
| public boolean isInt() | |
| isIntArray | back to summary |
|---|---|
| public boolean isIntArray() | |
| isJNIEnv | back to summary |
|---|---|
| public boolean isJNIEnv() | |
| isLong | back to summary |
|---|---|
| public boolean isLong() | |
| isLongArray | back to summary |
|---|---|
| public boolean isLongArray() | |
| isNIOBuffer | back to summary |
|---|---|
| public boolean isNIOBuffer() | |
| isNIOBufferArray | back to summary |
|---|---|
| public boolean isNIOBufferArray() | |
| isNIOByteBuffer | back to summary |
|---|---|
| public boolean isNIOByteBuffer() | |
| isNIOByteBufferArray | back to summary |
|---|---|
| public boolean isNIOByteBufferArray() | |
| isNIOLongBuffer | back to summary |
|---|---|
| public boolean isNIOLongBuffer() | |
| isNIOPointerBuffer | back to summary |
|---|---|
| public boolean isNIOPointerBuffer() | |
| isOpaqued | back to summary |
|---|---|
| public boolean isOpaqued() | |
| isPrimitive | back to summary |
|---|---|
| public boolean isPrimitive() | |
| isPrimitiveArray | back to summary |
|---|---|
| public boolean isPrimitiveArray() | |
| isShort | back to summary |
|---|---|
| public boolean isShort() | |
| isShortArray | back to summary |
|---|---|
| public boolean isShortArray() | |
| isString | back to summary |
|---|---|
| public boolean isString() | |
| isStringArray | back to summary |
|---|---|
| public boolean isStringArray() | |
| isVoid | back to summary |
|---|---|
| public boolean isVoid() | |
| jniTypeName | back to summary |
|---|---|
| public String jniTypeName() Returns the String corresponding to the JNI type for this type, or NULL if it can't be represented (i.e., it's a boxing class that we need to call getBuffer() on.) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object. | |
| Modifier and Type | Field and Description |
|---|---|
| public static final JavaType. | |
| public static final JavaType. | |
| public static final JavaType. | |
| public static final JavaType. | |
| public static final JavaType. | |
| public static final JavaType. | |
| public static final JavaType. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static JavaType. | |
| public static JavaType. |
| CHAR | back to summary |
|---|---|
| public static final JavaType. | |
| DOUBLE | back to summary |
|---|---|
| public static final JavaType. | |
| FLOAT | back to summary |
|---|---|
| public static final JavaType. | |
| INT32 | back to summary |
|---|---|
| public static final JavaType. | |
| INT64 | back to summary |
|---|---|
| public static final JavaType. | |
| SHORT | back to summary |
|---|---|
| public static final JavaType. | |
| VOID | back to summary |
|---|---|
| public static final JavaType. | |
| C_PTR | back to summary |
|---|---|
| private C_PTR() | |
| valueOf | back to summary |
|---|---|
| public static JavaType. | |
| values | back to summary |
|---|---|
| public static JavaType. | |