Gili created NETBEANS-347:
-----------------------------

             Summary: "Exporting non-public type through a public API" should 
provide name of non-public type
                 Key: NETBEANS-347
                 URL: https://issues.apache.org/jira/browse/NETBEANS-347
             Project: NetBeans
          Issue Type: Improvement
          Components: editor - Hints & Annotations
         Environment: Product Version: Apache NetBeans IDE Dev (Build 
20180117-unknown-revn)
Updates: Updates available
Java: 9.0.4; Java HotSpot(TM) 64-Bit Server VM 9.0.4+11
Runtime: Java(TM) SE Runtime Environment 9.0.4+11
System: Windows 10 version 10.0 running on amd64; Cp1252; en_CA (nb)
User directory: C:\Users\Gili\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\Gili\AppData\Local\NetBeans\Cache\dev
            Reporter: Gili


Given a constructor with many arguments:
{code:java}
public BinancePendingOrder(CurrencyPair currencyPair, String serverId, String 
clientId, BigDecimal price, BigDecimal requestedAmount, BigDecimal 
filledAmount, BinanceOrderStatus status, TimeInForce timeInForce, 
BinanceOrderType type, OrderSide side, BigDecimal stopPrice, BigDecimal 
icebergAmount, Instant time){code}
Where BinanceOrderType is non-public, Netbeans warns "Exporting non-public type 
through a public API" on the constructor line but it's not clear which argument 
it is referring to.

Expected behavior: The editor hint should indicate the offending argument type 
and/or name.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to