Name

package (Java), private, protected, public, internal (C#/CIL) — Checks the visibility of a class/method/field

Synopsis

package (Java)
private
protected
public
internal (C#/CIL)

Description

These filters apply to class, method, or field types, and let you test the visibility with which the object was declared. Use private, public, or protected to test if the program object was declared with that visibility modifier, or use package to test if it was declared with the default visibility.

For BBQ-IL, package is not applicable; you can use internal to test if something was declared with internal visibility.

Applies to Type

class

field

method

browse-by-query home antlersoft free software sourceforge project page