# Class: com.pnfsoftware.jeb.util.base.JavaUtil

A collection of primitives relative to the Java language itself.

## Constructor: JavaUtil


## Static Method: extractFullName
- parameter: `internalClassname`, type: `java.lang.String`
- parameter: `validate`, type: `boolean`
- return type: `java.lang.String`


## Static Method: extractSimpleName
- parameter: `internalClassname`, type: `java.lang.String`
- parameter: `validate`, type: `boolean`
- return type: `java.lang.String`


## Static Method: isClassname
- parameter: `s`, type: `java.lang.String`
- parameter: `validate`, type: `boolean`
- parameter: `elements`, type: `java.util.List<java.lang.String>`
- return type: `boolean`


## Static Method: isInternalClassname
- parameter: `s`, type: `java.lang.String`
- parameter: `validate`, type: `boolean`
- parameter: `elements`, type: `java.util.List<java.lang.String>`
- return type: `boolean`


## Static Method: isKeyword
- parameter: `s`, type: `java.lang.String`
- return type: `boolean`


## Static Method: isReservedLiteral
- parameter: `s`, type: `java.lang.String`
- return type: `boolean`


## Static Method: isReservedMethodName
- parameter: `name`, type: `java.lang.String`
- return type: `boolean`


## Static Method: isValidClassname
- parameter: `s`, type: `java.lang.String`
- parameter: `elements`, type: `java.util.List<java.lang.String>`
- return type: `boolean`

Description: Validate a class name in standard binary form.
parameter: s: dot\-separated class name
parameter: elements: 
return: 

## Static Method: isValidClassname
- parameter: `s`, type: `java.lang.String`
- return type: `boolean`


## Static Method: isValidIdentifierName
- parameter: `s`, type: `java.lang.String`
- return type: `boolean`


## Static Method: isValidInternalClassname
- parameter: `s`, type: `java.lang.String`
- parameter: `elements`, type: `java.util.List<java.lang.String>`
- return type: `boolean`


## Static Method: isValidInternalClassname
- parameter: `s`, type: `java.lang.String`
- return type: `boolean`


## Static Method: letterToPrimitive
- parameter: `letterType`, type: `java.lang.String`
- return type: `java.lang.String`


## Static Method: primitiveToLetter
- parameter: `primitiveType`, type: `java.lang.String`
- return type: `java.lang.String`


## Static Method: primitiveToWrapper
- parameter: `primitiveType`, type: `java.lang.String`
- return type: `java.lang.String`


## Static Method: toJvmName
- parameter: `javaname`, type: `java.lang.String`
- return type: `java.lang.String`

Description: Generate the internal binary name \(jvm name\) for the provided type name, as provided by `Class.getName()`. 

 `Class.getName()` uses inconsistent format. Example:  

```

 int                      -> int
 int[]                    -> [I
 int[][]                  -> [[I
 java.lang.Integer        -> java.lang.Integer
 java.lang.Integer[]      -> [Ljava.lang.Integer;
 java.lang.Integer[][]    -> [Ljava.lang.Integer;
 
```
parameter: javaname: name returned by Java's `Class.getName(...)`
return: 

## Static Method: toJvmName
- parameter: `c`, type: `java.lang.Class<?>`
- return type: `java.lang.String`

Description: Generate the internal binary name \(jvm name\) for the provided type name, as provided by `Class.getName()`. 

 `Class.getName()` uses inconsistent format. Example:  

```

 int                      -> int
 int[]                    -> [I
 int[][]                  -> [[I
 java.lang.Integer        -> java.lang.Integer
 java.lang.Integer[]      -> [Ljava.lang.Integer;
 java.lang.Integer[][]    -> [Ljava.lang.Integer;
 
```
parameter: c: a java class reference
return: 

## Static Method: wrapperToPrimitive
- parameter: `wrapperType`, type: `java.lang.String`
- return type: `java.lang.String`


