Top Description Fields Constructors Methods
org.jruby.common

public Class NullWarnings

extends Object
implements IRubyWarnings
Class Inheritance
All Implemented Interfaces
org.jruby.common.IRubyWarnings
Imports
org.jruby.Ruby

A Warnings implementation which silently ignores everything.

Field Summary

Modifier and TypeField and Description
private final Ruby

Constructor Summary

AccessConstructor and Description
public
NullWarnings(Ruby runtime)

Method Summary

Modifier and TypeMethod and Description
public Ruby
public boolean
public void
warn(IRubyWarnings.ID id, String fileName, int lineNumber, String message)

Implements org.jruby.common.IRubyWarnings.warn.

public void
public void
public void
warn(IRubyWarnings.ID id, String message, Object... data)
Deprecated

public void
warn(IRubyWarnings.ID id, String fileName, int lineNumber, String message, Object... data)
Deprecated

public void
public void
warning(IRubyWarnings.ID id, String fileName, int lineNumber, String message)

Implements org.jruby.common.IRubyWarnings.warning.

public void
warning(IRubyWarnings.ID id, String message, Object... data)
Deprecated

public void
warning(IRubyWarnings.ID id, String fileName, int lineNumber, String message, Object... data)
Deprecated

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

runtimeback to summary
private final Ruby runtime

Constructor Detail

NullWarningsback to summary
public NullWarnings(Ruby runtime)

Method Detail

getRuntimeback to summary
public Ruby getRuntime()

Implements org.jruby.common.IRubyWarnings.getRuntime.

isVerboseback to summary
public boolean isVerbose()

Implements org.jruby.common.IRubyWarnings.isVerbose.

warnback to summary
public void warn(IRubyWarnings.ID id, String fileName, int lineNumber, String message)

Implements org.jruby.common.IRubyWarnings.warn.

warnback to summary
public void warn(IRubyWarnings.ID id, String fileName, String message)

Implements org.jruby.common.IRubyWarnings.warn.

warnback to summary
public void warn(IRubyWarnings.ID id, String message)

Implements org.jruby.common.IRubyWarnings.warn.

warnback to summary
public void warn(IRubyWarnings.ID id, String message, Object... data)

Deprecated

Annotations
@Deprecated
warnback to summary
public void warn(IRubyWarnings.ID id, String fileName, int lineNumber, String message, Object... data)

Deprecated

Annotations
@Deprecated
warningback to summary
public void warning(IRubyWarnings.ID id, String message)

Implements org.jruby.common.IRubyWarnings.warning.

warningback to summary
public void warning(IRubyWarnings.ID id, String fileName, int lineNumber, String message)

Implements org.jruby.common.IRubyWarnings.warning.

warningback to summary
public void warning(IRubyWarnings.ID id, String message, Object... data)

Deprecated

Annotations
@Deprecated
warningback to summary
public void warning(IRubyWarnings.ID id, String fileName, int lineNumber, String message, Object... data)

Deprecated

Annotations
@Deprecated