Lines Matching refs:methKind
132 String getSignature(ModifierKind modKind, MethodKind methKind) {
133 return methKind != MethodKind.CONSTRUCTOR ?
134 stub.replace("#K", modKind.mod).replace("#N", methKind.name) :
135 stub.replace("#K", "").replace("#N", methKind.name);
173 for (MethodKind methKind : MethodKind.values()) {
181 methKind,
199 final MethodKind methKind;
205 public Warn5(SourceLevel sourceLevel, XlintOption xlint, TrustMe trustMe, SuppressLevel suppressLevel, ModifierKind modKind, MethodKind methKind, SignatureKind sig, BodyKind body) {
211 this.methKind = methKind;
235 (methKind == MethodKind.CONSTRUCTOR || (methKind == MethodKind.METHOD && modKind != ModifierKind.NONE))) {
250 (modKind == ModifierKind.NONE && methKind == MethodKind.METHOD))) {
258 (modKind != ModifierKind.NONE || methKind == MethodKind.CONSTRUCTOR) &&
290 replace("#M", sig.getSignature(modKind, methKind)).