As Maheshvaran Raviskanar has already said, the only way to get this information is to run a query on the database. Perhaps there is a Java function that performs this particular operation, but I doubt it. The following query should do this for you:
select VIRTUAL_COLUMN from ALL_TAB_COLS where OWNER = :1 and TABLE_NAME = :2 and COLUMN_NAME = :3;
YES or NO (YES = column - ).
: Oracle .