Uses of Class
org.spockframework.util.Nullable
-
Packages that use Nullable Package Description org.spockframework.builder org.spockframework.compiler org.spockframework.lang org.spockframework.mock Spock's built-in mocking framework.org.spockframework.mock.runtime org.spockframework.runtime org.spockframework.runtime.extension org.spockframework.runtime.extension.builtin org.spockframework.runtime.model org.spockframework.util -
-
Uses of Nullable in org.spockframework.builder
Methods in org.spockframework.builder with annotations of type Nullable Modifier and Type Method Description ISlot
ISlotFactory. create(java.lang.Object owner, java.lang.reflect.Type ownerType, java.lang.String name)
IBlueprint
IGestalt. getBlueprint()
java.lang.Object
IBlueprint. getThisObject()
-
Uses of Nullable in org.spockframework.compiler
Methods in org.spockframework.compiler with annotations of type Nullable Modifier and Type Method Description static org.codehaus.groovy.ast.expr.Expression
AstUtil. getAssertionMessage(org.codehaus.groovy.ast.stmt.AssertStatement stat)
org.codehaus.groovy.ast.expr.ClosureExpression
SpecialMethodCall. getClosureExpr()
org.codehaus.groovy.ast.stmt.ExpressionStatement
InteractionRewriter. rewrite(org.codehaus.groovy.ast.stmt.ExpressionStatement stat)
If the given statement is a valid interaction definition, returns the rewritten statement.Method parameters in org.spockframework.compiler with annotations of type Nullable Modifier and Type Method Description static SpecialMethodCall
SpecialMethodCall. parse(org.codehaus.groovy.ast.expr.MethodCallExpression methodCallExpr, org.codehaus.groovy.ast.expr.BinaryExpression binaryExpr)
Constructor parameters in org.spockframework.compiler with annotations of type Nullable Constructor Description InteractionRewriter(IRewriteResources resources, org.codehaus.groovy.ast.expr.ClosureExpression activeWithOrMockClosure)
SpecialMethodCall(java.lang.String methodName, org.codehaus.groovy.ast.expr.Expression inferredName, org.codehaus.groovy.ast.expr.Expression inferredType, org.codehaus.groovy.ast.expr.MethodCallExpression methodCallExpr, org.codehaus.groovy.ast.expr.BinaryExpression binaryExpr, org.codehaus.groovy.ast.expr.ClosureExpression closureExpr, boolean conditionBlock)
SpecialMethodCall(java.lang.String methodName, org.codehaus.groovy.ast.expr.Expression inferredName, org.codehaus.groovy.ast.expr.Expression inferredType, org.codehaus.groovy.ast.expr.MethodCallExpression methodCallExpr, org.codehaus.groovy.ast.expr.BinaryExpression binaryExpr, org.codehaus.groovy.ast.expr.ClosureExpression closureExpr, boolean conditionBlock)
-
Uses of Nullable in org.spockframework.lang
Method parameters in org.spockframework.lang with annotations of type Nullable Modifier and Type Method Description java.lang.Object
SpecInternals. createMock(java.lang.String name, java.lang.Class<?> type, MockNature nature, MockImplementation implementation, java.util.Map<java.lang.String,java.lang.Object> options, groovy.lang.Closure closure)
java.lang.Object
SpecInternals. createMock(java.lang.String name, java.lang.Class<?> type, MockNature nature, MockImplementation implementation, java.util.Map<java.lang.String,java.lang.Object> options, groovy.lang.Closure closure)
-
Uses of Nullable in org.spockframework.mock
Methods in org.spockframework.mock with annotations of type Nullable Modifier and Type Method Description java.lang.Object
IMockInteraction. accept(IMockInvocation invocation)
java.util.List<java.lang.Object>
IMockConfiguration. getConstructorArgs()
Returns the constructor arguments to be used for creating the mock object.java.lang.String
IMockConfiguration. getName()
Returns the name of the mock object.java.lang.String
IMockObject. getName()
Returns the name of this mock object, ornull
if it has no name. -
Uses of Nullable in org.spockframework.mock.runtime
Methods in org.spockframework.mock.runtime with annotations of type Nullable Modifier and Type Method Description java.util.List<java.lang.Object>
MockConfiguration. getConstructorArgs()
java.lang.String
MockConfiguration. getName()
java.lang.String
MockObject. getName()
java.lang.Class<?>
MockObject. getType()
Method parameters in org.spockframework.mock.runtime with annotations of type Nullable Modifier and Type Method Description java.lang.Object
ProxyBasedMockFactory. create(java.lang.Class<?> mockType, java.util.List<java.lang.Class<?>> additionalInterfaces, java.util.List<java.lang.Object> constructorArgs, IProxyBasedMockInterceptor mockInterceptor, java.lang.ClassLoader classLoader, boolean useObjenesis)
static java.lang.Object
MockInstantiator. instantiate(java.lang.Class<?> declaredType, java.lang.Class<?> actualType, java.util.List<java.lang.Object> constructorArgs, boolean useObjenesis)
Constructor parameters in org.spockframework.mock.runtime with annotations of type Nullable Constructor Description MockConfiguration(java.lang.String name, java.lang.Class<?> type, MockNature nature, MockImplementation implementation, java.util.Map<java.lang.String,java.lang.Object> options)
MockObject(java.lang.String name, java.lang.Class<?> type, java.lang.Object instance, boolean verified, boolean global, IDefaultResponse defaultResponse, Specification specification)
-
Uses of Nullable in org.spockframework.runtime
Methods in org.spockframework.runtime with annotations of type Nullable Modifier and Type Method Description <T> T
RunContext. getConfiguration(java.lang.Class<T> type)
ExpressionInfo
Condition. getExpression()
java.lang.String
Condition. getMessage()
static java.lang.String
GroovyRuntimeUtil. getterMethodToPropertyName(java.lang.String methodName, java.util.List<java.lang.Class<?>> parameterTypes, java.lang.Class<?> returnType)
Checks if the given method is a getter method according to Groovy rules.java.lang.String
Condition. getText()
java.lang.Iterable<java.lang.Object>
Condition. getValues()
DelegatingScript
ConfigurationScriptLoader. loadAutoDetectedScript()
Method parameters in org.spockframework.runtime with annotations of type Nullable Modifier and Type Method Description static java.lang.String
HamcrestFacade. getFailureDescription(java.lang.Object matcher, java.lang.Object value, java.lang.String message)
static boolean
GroovyRuntimeUtil. isVoidMethod(java.lang.Object target, java.lang.String method, java.lang.Object... args)
static void
SpockRuntime. verifyCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object condition)
static void
SpockRuntime. verifyCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object condition)
static void
SpockRuntime. verifyCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object condition)
static void
SpockRuntime. verifyCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object condition)
static void
SpockRuntime. verifyMethodCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object target, java.lang.String method, java.lang.Object[] args, boolean safe, boolean explicit)
static void
SpockRuntime. verifyMethodCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object target, java.lang.String method, java.lang.Object[] args, boolean safe, boolean explicit)
static void
SpockRuntime. verifyMethodCondition(ValueRecorder recorder, java.lang.String text, int line, int column, java.lang.Object message, java.lang.Object target, java.lang.String method, java.lang.Object[] args, boolean safe, boolean explicit)
static <T,U extends java.lang.Throwable>
TRunContext. withNewContext(DelegatingScript configurationScript, java.util.List<java.lang.Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext,T,U> command)
Constructor parameters in org.spockframework.runtime with annotations of type Nullable Constructor Description Condition(java.lang.Iterable<java.lang.Object> values, java.lang.String text, TextPosition position, java.lang.String message)
Condition(java.lang.Iterable<java.lang.Object> values, java.lang.String text, TextPosition position, java.lang.String message)
Condition(java.lang.Iterable<java.lang.Object> values, java.lang.String text, TextPosition position, java.lang.String message)
UnallowedExceptionThrownError(java.lang.Class<? extends java.lang.Throwable> unallowed, java.lang.Throwable actual)
WrongExceptionThrownError(java.lang.Class<? extends java.lang.Throwable> expected, java.lang.Throwable actual)
-
Uses of Nullable in org.spockframework.runtime.extension
Methods in org.spockframework.runtime.extension with annotations of type Nullable Modifier and Type Method Description FeatureInfo
IMethodInvocation. getFeature()
Returns the feature which this method invocation belongs to (if any).IterationInfo
IMethodInvocation. getIteration()
Return the iteration which this method invocation belongs to (if any). -
Uses of Nullable in org.spockframework.runtime.extension.builtin
Fields in org.spockframework.runtime.extension.builtin with annotations of type Nullable Modifier and Type Field Description protected static java.lang.Class<?>
AbstractRuleExtension. methodRuleClass
protected static java.lang.Class<?>
AbstractRuleExtension. testRuleClass
Method parameters in org.spockframework.runtime.extension.builtin with annotations of type Nullable Modifier and Type Method Description protected boolean
AbstractRuleExtension. hasFieldType(FieldInfo field, java.lang.Class<?> ruleClass)
-
Uses of Nullable in org.spockframework.runtime.model
Methods in org.spockframework.runtime.model with annotations of type Nullable Modifier and Type Method Description org.junit.runner.Description
NodeInfo. getDescription()
FeatureInfo
MethodInfo. getFeature()
NameProvider<IterationInfo>
FeatureInfo. getIterationNameProvider()
java.lang.Object
NodeInfo. getMetadata()
Constructor parameters in org.spockframework.runtime.model with annotations of type Nullable Constructor Description ExpressionInfo(TextRegion region, TextPosition anchor, java.lang.String operation, java.util.List<ExpressionInfo> children)
ExpressionInfo(TextRegion region, TextPosition anchor, java.lang.String operation, ExpressionInfo... children)
-
Uses of Nullable in org.spockframework.util
Methods in org.spockframework.util with annotations of type Nullable Modifier and Type Method Description static <T> T
ObjectUtil. asInstance(java.lang.Object obj, java.lang.Class<T> type)
static java.lang.reflect.Method
ReflectionUtil. getDeclaredMethodByName(java.lang.Class<?> clazz, java.lang.String name)
static java.lang.reflect.Method
ReflectionUtil. getDeclaredMethodBySignature(java.lang.Class<?> clazz, java.lang.String name, java.lang.Class<?>... parameterTypes)
static <T> T
CollectionUtil. getLastElement(java.util.List<T> list)
static java.lang.reflect.Method
ReflectionUtil. getMethodByName(java.lang.Class<?> clazz, java.lang.String name)
Finds a public method with the given name declared in the given class/interface or one of its super classes/interfaces.static java.lang.reflect.Method
ReflectionUtil. getMethodBySignature(java.lang.Class<?> clazz, java.lang.String name, java.lang.Class<?>... parameterTypes)
static java.lang.Object
ReflectionUtil. invokeMethod(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object... args)
Method parameters in org.spockframework.util with annotations of type Nullable Modifier and Type Method Description static void
IoUtil. closeQuietly(java.io.Closeable... closeables)
static java.lang.Object
ReflectionUtil. invokeMethod(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object... args)
static java.lang.Object
ReflectionUtil. invokeMethod(java.lang.Object target, java.lang.reflect.Method method, java.lang.Object... args)
Constructor parameters in org.spockframework.util with annotations of type Nullable Constructor Description VersionNumber(int major, int minor, int micro, java.lang.String qualifier)
-