mirror of https://github.com/sbt/sbt.git
Exclude all non static annotations from ExtractAPI
This commit is contained in:
parent
0f616294c4
commit
d32a0eaaa0
|
|
@ -636,7 +636,7 @@ class ExtractAPI[GlobalType <: CallbackGlobal](val global: GlobalType,
|
|||
// a) they are recorded as normal source methods anyway
|
||||
// b) there is no way to distinguish them from user-defined methods
|
||||
val associated = List(b, b.getter(b.enclClass), b.setter(b.enclClass)).filter(_ != NoSymbol)
|
||||
associated.flatMap(ss => annotations(in, ss.annotations)).distinct.toArray;
|
||||
associated.flatMap(ss => annotations(in, ss.annotations.filter(_.isStatic))).distinct.toArray;
|
||||
}
|
||||
private def annotatedType(in: Symbol, at: AnnotatedType): xsbti.api.Type =
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue