Search in sources :

Example 6 with ConfigurationType

use of com.oracle.svm.configure.config.ConfigurationType in project graal by oracle.

the class TypeMethodsWithFlagsTest method getConfigTypeOrFail.

private static ConfigurationType getConfigTypeOrFail(TypeConfiguration typeConfig, String typeName) {
    ConfigurationType type = typeConfig.get(ConfigurationCondition.alwaysTrue(), typeName);
    Assert.assertNotNull(type);
    return type;
}
Also used : ConfigurationType(com.oracle.svm.configure.config.ConfigurationType)

Aggregations

ConfigurationType (com.oracle.svm.configure.config.ConfigurationType)6 ConfigurationMethod (com.oracle.svm.configure.config.ConfigurationMethod)3 ConfigurationMemberDeclaration (com.oracle.svm.configure.config.ConfigurationMemberInfo.ConfigurationMemberDeclaration)2 HashMap (java.util.HashMap)2 Map (java.util.Map)2 ConfigurationMemberInfo (com.oracle.svm.configure.config.ConfigurationMemberInfo)1 FieldInfo (com.oracle.svm.configure.config.FieldInfo)1 TypeConfiguration (com.oracle.svm.configure.config.TypeConfiguration)1