Uses of Annotation Type
org.spockframework.util.Nullable
Packages that use Nullable
Package
Description
Spock's built-in mocking framework.
-
Uses of Nullable in org.spockframework.builder
Methods in org.spockframework.builder with annotations of type Nullable -
Uses of Nullable in org.spockframework.compiler
Methods in org.spockframework.compiler with annotations of type NullableModifier and TypeMethodDescriptionstatic org.codehaus.groovy.ast.expr.ExpressionAstUtil.getAssertionMessage(org.codehaus.groovy.ast.stmt.AssertStatement stat) org.codehaus.groovy.ast.expr.ClosureExpressionSpecialMethodCall.getClosureExpr()org.codehaus.groovy.ast.stmt.ExpressionStatementInteractionRewriter.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 NullableModifier and TypeMethodDescriptionstatic SpecialMethodCallSpecialMethodCall.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 NullableModifierConstructorDescriptionInteractionRewriter(IRewriteResources resources, org.codehaus.groovy.ast.expr.ClosureExpression activeWithOrMockClosure) SpecialMethodCall(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(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
Methods in org.spockframework.lang with annotations of type NullableMethod parameters in org.spockframework.lang with annotations of type NullableModifier and TypeMethodDescriptionSpecInternals.createMock(String name, Type type, MockNature nature, MockImplementation implementation, Map<String, Object> options, groovy.lang.Closure closure) SpecInternals.createMock(String name, Type type, MockNature nature, MockImplementation implementation, Map<String, Object> options, groovy.lang.Closure closure) -
Uses of Nullable in org.spockframework.mock
Methods in org.spockframework.mock with annotations of type NullableModifier and TypeMethodDescriptionIMockInteraction.accept(IMockInvocation invocation) IMockConfiguration.getConstructorArgs()Returns the constructor arguments to be used for creating the mock object.IMockConfiguration.getName()Returns the name of the mock object.IMockObject.getName()Returns the name of this mock object, ornullif it has no name. -
Uses of Nullable in org.spockframework.mock.runtime
Methods in org.spockframework.mock.runtime with annotations of type NullableModifier and TypeMethodDescriptionMockConfiguration.getConstructorArgs()MockConfiguration.getName()MockObject.getName()Method parameters in org.spockframework.mock.runtime with annotations of type NullableModifier and TypeMethodDescriptionProxyBasedMockFactory.create(Class<?> mockType, List<Class<?>> additionalInterfaces, List<Object> constructorArgs, IProxyBasedMockInterceptor mockInterceptor, ClassLoader classLoader, boolean useObjenesis) static ObjectMockInstantiator.instantiate(Class<?> declaredType, Class<?> actualType, List<Object> constructorArgs, boolean useObjenesis) Constructor parameters in org.spockframework.mock.runtime with annotations of type NullableModifierConstructorDescriptionMockConfiguration(String name, Type type, MockNature nature, MockImplementation implementation, Map<String, Object> options) MockObject(String name, Type type, Object instance, boolean verified, boolean global, IDefaultResponse defaultResponse, Specification specification) -
Uses of Nullable in org.spockframework.report.log
Methods in org.spockframework.report.log with annotations of type Nullable -
Uses of Nullable in org.spockframework.runtime
Methods in org.spockframework.runtime with annotations of type NullableModifier and TypeMethodDescription<T> TRunContext.getConfiguration(Class<T> type) IConfigurationRegistry.getConfigurationByName(String name) <T> TIConfigurationRegistry.getConfigurationByType(Class<T> clazz) Condition.getExpression()Condition.getMessage()static StringGroovyRuntimeUtil.getterMethodToPropertyName(String methodName, List<Class<?>> parameterTypes, Class<?> returnType) Checks if the given method is a getter method according to Groovy rules.Condition.getText()Condition.getValues()ConfigurationScriptLoader.loadAutoDetectedScript()static MethodGroovyRuntimeUtil.toMethod(groovy.lang.MetaMethod metaMethod) Method parameters in org.spockframework.runtime with annotations of type NullableModifier and TypeMethodDescriptionstatic StringHamcrestFacade.getFailureDescription(Object matcher, Object value, String message) static booleanGroovyRuntimeUtil.isVoidMethod(Object target, String method, Object... args) static MethodGroovyRuntimeUtil.toMethod(groovy.lang.MetaMethod metaMethod) static voidSpockRuntime.verifyCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object condition) static voidSpockRuntime.verifyCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object condition) static voidSpockRuntime.verifyCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object condition) static voidSpockRuntime.verifyCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object condition) static voidSpockRuntime.verifyMethodCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object target, String method, Object[] args, boolean safe, boolean explicit) static voidSpockRuntime.verifyMethodCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object target, String method, Object[] args, boolean safe, boolean explicit) static voidSpockRuntime.verifyMethodCondition(ValueRecorder recorder, String text, int line, int column, Object message, Object target, String method, Object[] args, boolean safe, boolean explicit) static <T,U extends Throwable>
TRunContext.withNewContext(String name, File spockUserHome, DelegatingScript configurationScript, List<Class<?>> extensionClasses, boolean inheritParentExtensions, IThrowableFunction<RunContext, T, U> command) Constructor parameters in org.spockframework.runtime with annotations of type NullableModifierConstructorDescriptionUnallowedExceptionThrownError(Class<? extends Throwable> unallowed, Throwable actual) WrongExceptionThrownError(Class<? extends Throwable> expected, Throwable actual) -
Uses of Nullable in org.spockframework.runtime.extension
Methods in org.spockframework.runtime.extension with annotations of type NullableModifier and TypeMethodDescriptionIMethodInvocation.getFeature()Returns the feature which this method invocation belongs to (if any).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 NullableModifier and TypeFieldDescriptionprotected static Class<?> AbstractRuleExtension.methodRuleClassprotected static Class<?> AbstractRuleExtension.testRuleClassMethod parameters in org.spockframework.runtime.extension.builtin with annotations of type NullableModifier and TypeMethodDescriptionprotected booleanAbstractRuleExtension.hasFieldType(FieldInfo field, Class<?> ruleClass) -
Uses of Nullable in org.spockframework.runtime.model
Methods in org.spockframework.runtime.model with annotations of type NullableModifier and TypeMethodDescriptionorg.junit.runner.DescriptionNodeInfo.getDescription()MethodInfo.getFeature()FeatureInfo.getIterationNameProvider()Tag.getKey()Returns the filter key of the tag.NodeInfo.getMetadata()Tag.getUrl()Returns the URL associated with the tag, if any.Tag.getValue()Returns the filter value of the tag.Constructor parameters in org.spockframework.runtime.model with annotations of type NullableModifierConstructorDescriptionExpressionInfo(TextRegion region, TextPosition anchor, String operation, List<ExpressionInfo> children) ExpressionInfo(TextRegion region, TextPosition anchor, String operation, ExpressionInfo... children) -
Uses of Nullable in org.spockframework.util
Methods in org.spockframework.util with annotations of type NullableModifier and TypeMethodDescriptionstatic <T> TObjectUtil.asInstance(Object obj, Class<T> type) static MethodReflectionUtil.getDeclaredMethodByName(Class<?> clazz, String name) static MethodReflectionUtil.getDeclaredMethodBySignature(Class<?> clazz, String name, Class<?>... parameterTypes) static StringIoUtil.getFileExtension(String filename) static <T> TCollectionUtil.getFirstElement(Iterable<T> iterable) static <T> TCollectionUtil.getLastElement(List<T> list) static MethodReflectionUtil.getMethodByName(Class<?> clazz, String name) Finds a public method with the given name declared in the given class/interface or one of its super classes/interfaces.static MethodReflectionUtil.getMethodBySignature(Class<?> clazz, String name, Class<?>... parameterTypes) static ObjectReflectionUtil.invokeMethod(Object target, Method method, Object... args) Method parameters in org.spockframework.util with annotations of type NullableModifier and TypeMethodDescriptionstatic voidIoUtil.closeQuietly(Closeable... closeables) static voidIoUtil.closeQuietly(Socket... sockets) static ObjectReflectionUtil.invokeMethod(Object target, Method method, Object... args) static ObjectReflectionUtil.invokeMethod(Object target, Method method, Object... args) static voidIoUtil.stopQuietly(IStoppable... stoppables) Constructor parameters in org.spockframework.util with annotations of type Nullable