Java Code Examples for com.apple.internal.jobjc.generator.utils.QA#nonNull()

The following examples show how to use com.apple.internal.jobjc.generator.utils.QA#nonNull() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Struct.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public Field(String name, NField field32, NField field64) {
    QA.nonNull(name);
    this.name = name;
    // TODO <field> really should have a declared_type attr. See if BS patch is possible.
    this.type = Type.getType(null, field32.type, field64.type);
    this.field32 = field32;
    this.field64 = field64;
}
 
Example 2
Source File: Struct.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
public Field(String name, NField field32, NField field64) {
    QA.nonNull(name);
    this.name = name;
    // TODO <field> really should have a declared_type attr. See if BS patch is possible.
    this.type = Type.getType(null, field32.type, field64.type);
    this.field32 = field32;
    this.field64 = field64;
}
 
Example 3
Source File: NType.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public NArray(int length, NType type){
    QA.nonNull(type);
    this.length = length;
    this.type = type;
}
 
Example 4
Source File: NType.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public NField(String name, NType type, Map<Width,Integer> offset) {
    QA.nonNull(name, type, offset);
    this.name = name;
    this.type = type;
    this.offset = offset;
}
 
Example 5
Source File: NType.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
public NPointer(NType subject){
    super(4, 8);
    QA.nonNull(subject);
    this.subject = subject;
}
 
Example 6
Source File: NType.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public NStruct(String name, List<NField> fields, Map<Width,Integer> sizeof){
    super(sizeof);
    QA.nonNull(name, fields);
    this.name = name;
    this.fields = fields;
}
 
Example 7
Source File: NType.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public NStruct(String name, List<NField> fields){
    super();
    QA.nonNull(name, fields);
    this.name = name;
    this.fields = fields;
}
 
Example 8
Source File: NType.java    From jdk8u-jdk with GNU General Public License v2.0 4 votes vote down vote up
public NPointer(NType subject){
    super(4, 8);
    QA.nonNull(subject);
    this.subject = subject;
}
 
Example 9
Source File: NType.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public NStruct(String name, List<NField> fields, Map<Width,Integer> sizeof){
    super(sizeof);
    QA.nonNull(name, fields);
    this.name = name;
    this.fields = fields;
}
 
Example 10
Source File: Type.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
private Type(final String name, final NType t32, final NType t64) {
    QA.nonNull(t32);
    this.name = cleanName(name);
    this.type32 = t32;
    this.type64 = t64 == null || t32.equals(t64) ? t32 : t64;
}
 
Example 11
Source File: NType.java    From jdk8u_jdk with GNU General Public License v2.0 4 votes vote down vote up
public NStruct(String name, List<NField> fields, Map<Width,Integer> sizeof){
    super(sizeof);
    QA.nonNull(name, fields);
    this.name = name;
    this.fields = fields;
}
 
Example 12
Source File: Type.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
private Type(final String name, final NType t32, final NType t64) {
    QA.nonNull(t32);
    this.name = cleanName(name);
    this.type32 = t32;
    this.type64 = t64 == null || t32.equals(t64) ? t32 : t64;
}
 
Example 13
Source File: NType.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public NStruct(String name, List<NField> fields){
    super();
    QA.nonNull(name, fields);
    this.name = name;
    this.fields = fields;
}
 
Example 14
Source File: NType.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public NField(String name, NType type, Map<Width,Integer> offset) {
    QA.nonNull(name, type, offset);
    this.name = name;
    this.type = type;
    this.offset = offset;
}
 
Example 15
Source File: NType.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public NArray(int length, NType type){
    QA.nonNull(type);
    this.length = length;
    this.type = type;
}
 
Example 16
Source File: Type.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
private Type(final String name, final NType t32, final NType t64) {
    QA.nonNull(t32);
    this.name = cleanName(name);
    this.type32 = t32;
    this.type64 = t64 == null || t32.equals(t64) ? t32 : t64;
}
 
Example 17
Source File: NType.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
public NArray(int length, NType type){
    QA.nonNull(type);
    this.length = length;
    this.type = type;
}
 
Example 18
Source File: NType.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public NField(String name, NType type, Map<Width,Integer> offset) {
    QA.nonNull(name, type, offset);
    this.name = name;
    this.type = type;
    this.offset = offset;
}
 
Example 19
Source File: NType.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public NField(String name, NType type, Map<Width,Integer> offset) {
    QA.nonNull(name, type, offset);
    this.name = name;
    this.type = type;
    this.offset = offset;
}
 
Example 20
Source File: NType.java    From dragonwell8_jdk with GNU General Public License v2.0 4 votes vote down vote up
public NField(String name, NType type, Map<Width,Integer> offset) {
    QA.nonNull(name, type, offset);
    this.name = name;
    this.type = type;
    this.offset = offset;
}